#0C2E4B#0C2E4B
#0C2E4B is a dark, moderate cyan. Relative luminance 0.025; OKLCH L 29.3% C 0.066 H 248.2°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).
Color values
| HEX | #0C2E4B |
|---|---|
| RGB | rgb(12, 46, 75) |
| HSL | hsl(208, 72%, 17%) |
| HSV | hsv(208, 84%, 29%) |
| CMYK | cmyk(84%, 38.7%, 0%, 70.6%) |
| CIE-LAB | lab(18.10, -0.33, -21.40) |
| CIE-LCH | lch(18.10, 21.41, 269.13°) |
| OKLab | oklab(29.33% -0.0244 -0.0609) |
| OKLCH | oklch(29.33% 0.066 248.2) |
| XYZ | xyz(2.3981, 2.5399, 7.0191) |
| Luminance | 0.0254 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Marine
#042E60
ΔE00 4.58
Marine Blue
#01386A
ΔE00 5.36
Navy Blue
#1B2A4A
ΔE00 5.39
Dark Blue Grey
#1F3B4D
ΔE00 6.78
Dark
#1B2431
ΔE00 7.45
Twilight Blue
#0A437A
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C2E4B #4B290C
analogous
#0C4B49 #0C2E4B #0C0F4B
triadic
#0C2E4B #4B0C2E #2E4B0C
tetradic
#0C2E4B #490C4B #4B290C #0F4B0C
square
#0C2E4B #490C4B #4B290C #0F4B0C
split-complementary
#0C2E4B #4B0C0F #4B490C
monochromatic
#04101A #04101A #0C2E4B #144E80 #1D6FB5
Accessibility & contrast
On white
13.93
#0C2E4B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#0C2E4B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C2E4B
13.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C2E4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C2E4B | 1.00 | 13.93 | 1.51 | 13.93 |
| #FFFFFF | 13.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#212F4C
Deuteranopia (green-blind)
#172A4A
Tritanopia (blue-blind)
#003539
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #0c2e4b; /* rgb */ color: rgb(12, 46, 75); /* oklch */ color: oklch(29.3% 0.066 248.2);
Tailwind
colors: {
custom: {
50: '#56667d',
500: '#0c2e4b',
950: '#000000',
},
}SCSS
$custom: #0c2e4b; $custom-light: #56667d; $custom-dark: #000000;
JSON
{
"hex": "#0c2e4b",
"rgb": {
"r": 12,
"g": 46,
"b": 75
},
"hsl": {
"h": 207.619,
"s": 72.414,
"l": 17.059
},
"oklch": {
"l": 0.29329,
"c": 0.06558,
"h": 248.2
},
"luminance": 0.0254
}Semantic roles & 50–950 ramp
primary
#0C2E4B
secondary
#87562C
accent
#8D39EF
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#030509
muted
#787A7B