# #0c4c8b color: Magnetic Blue

#0c4c8b is rgb(12, 76, 139) in RGB and oklch(41.567% 0.12072 253.266) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/0c4c8b

## Formats

| Format | Value |
| --- | --- |
| HEX | #0c4c8b |
| RGB | rgb(12, 76, 139) |
| HSL | hsl(209.76, 84.11%, 29.61%) |
| HSB / HSV | hsv(209.76 91.37% 54.51%) |
| HWB | hwb(209.76 4.71% 45.49%) |
| CMYK | cmyk(91% 45% 0% 45%) |
| Lab | lab(31.41 0.55 -41.15) |
| LCH | lch(31.41 41.15 270.77) |
| OKLab | oklab(41.567% -0.03476 -0.11561) |
| OKLCH | oklch(41.567% 0.12072 253.266) |
| Display P3 | color(display-p3 0.13264 0.29336 0.52749) |
| Rec. 2020 | color(rec2020 0.15092 0.23215 0.47652) |
| Adobe RGB | color(a98-rgb 0.18069 0.30281 0.53291) |
| ProPhoto RGB | color(prophoto-rgb 0.21355 0.22961 0.44413) |
| Linear sRGB | color(srgb-linear 0.00368 0.07227 0.25818) |
| XYZ D65 | color(xyz-d65 0.07396 0.07111 0.2541) |
| XYZ D50 | color(xyz-d50 0.06638 0.06828 0.19144) |
| SwiftUI | Color(red: 0.047, green: 0.298, blue: 0.545) |
| UIKit | UIColor(red: 0.047, green: 0.298, blue: 0.545, alpha: 1) |
| Flutter / Compose | Color(0xFF0C4C8B) |
| Android XML | #0C4C8B |

## Facts

- Closest name: Magnetic Blue
- Hue family: Blue, deep dark blue
- Closest Tailwind class: sky-800
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 8.67:1
- Contrast with black: 2.42:1

## Tints

#0c4c8b, #2a5d97, #426fa3, #5980af, #7092bb, #87a4c6, #9eb5d2, #b6c8dd, #cedae9, #e6ecf4

## Shades

#0c4c8b, #094178, #063666, #042c54, #032243, #021832, #010f23, #000614, #000207, #000001

## Tones

#0c4c8b, #184d85, #214d7f, #284d79, #2e4e72, #344e6c, #394e66, #3e4d60, #434d59, #474c52

## Harmonies

- Complementary: #0c4c8b, #6e4000
- Split: #0c4c8b, #7f2f02, #574d00
- Analogous: #0c4c8b, #005673, #453f8a
- Triadic: #0c4c8b, #802838, #2f5900
- Tetradic: #0c4c8b, #633479, #6e4000, #2f5900
- Square: #0c4c8b, #762b5d, #6e4000, #005e3a
- Monochromatic: #0c4c8b, #000b3b, #002a66, #356fb1, #5994d9

## Questions about #0c4c8b

### What color is #0c4c8b?

#0c4c8b is deep dark blue. The closest named color is Magnetic Blue. In RGB it is rgb(12, 76, 139), in HSL hsl(209.76, 84.11%, 29.61%) and in OKLCH oklch(41.567% 0.12072 253.266).

### What colors go well with #0c4c8b?

The complementary color of #0c4c8b is #6e4000. For a calmer combination use the analogous colors #005673 and #453f8a. The triadic partners are #802838 and #2f5900.

### Is white or black text more readable on #0c4c8b?

White text reads better on #0c4c8b: white gives a contrast ratio of 8.67:1 and black gives 2.42:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #0c4c8b a warm or cool color?

#0c4c8b is a cool color. In OKLCH its hue is 253 degrees, its lightness 41.6% and its chroma 0.121.
