#0C2F51#0C2F51
#0C2F51 is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 30.0% C 0.073 H 251.2°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).
Color values
| HEX | #0C2F51 |
|---|---|
| RGB | rgb(12, 47, 81) |
| HSL | hsl(210, 74%, 18%) |
| HSV | hsv(210, 85%, 32%) |
| CMYK | cmyk(85.2%, 42%, 0%, 68.2%) |
| CIE-LAB | lab(18.82, 1.57, -24.30) |
| CIE-LCH | lch(18.82, 24.35, 273.71°) |
| OKLab | oklab(30.02% -0.0236 -0.0693) |
| OKLCH | oklch(30.02% 0.073 251.2) |
| XYZ | xyz(2.6528, 2.7050, 8.1653) |
| Luminance | 0.0271 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Marine
#042E60
ΔE00 3.18
Marine Blue
#01386A
ΔE00 4.29
Navy Blue
#1B2A4A
ΔE00 4.55
Twilight Blue
#0A437A
ΔE00 7.67
Darkish Blue
#014182
ΔE00 7.96
Dark Blue Grey
#1F3B4D
ΔE00 7.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C2F51 #512E0C
analogous
#0C5150 #0C2F51 #0C0C51
triadic
#0C2F51 #510C2F #2F510C
tetradic
#0C2F51 #500C51 #512E0C #0C510C
square
#0C2F51 #500C51 #512E0C #0C510C
split-complementary
#0C2F51 #510C0C #51500C
monochromatic
#040F1B #04101C #0C2F51 #144E86 #1C6DBC
Accessibility & contrast
On white
13.63
#0C2F51 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#0C2F51 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C2F51
13.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C2F51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C2F51 | 1.00 | 13.63 | 1.54 | 13.63 |
| #FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F3152
Deuteranopia (green-blind)
#142B50
Tritanopia (blue-blind)
#00373C
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #0c2f51; /* rgb */ color: rgb(12, 47, 81); /* oklch */ color: oklch(30.0% 0.073 251.2);
Tailwind
colors: {
custom: {
50: '#576782',
500: '#0c2f51',
950: '#000000',
},
}SCSS
$custom: #0c2f51; $custom-light: #576782; $custom-dark: #000000;
JSON
{
"hex": "#0c2f51",
"rgb": {
"r": 12,
"g": 47,
"b": 81
},
"hsl": {
"h": 209.565,
"s": 74.194,
"l": 18.235
},
"oklch": {
"l": 0.30019,
"c": 0.07325,
"h": 251.2
},
"luminance": 0.02705
}Semantic roles & 50–950 ramp
primary
#0C2F51
secondary
#8C5C2C
accent
#9337F1
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C