#0C2940#0C2940
#0C2940 is a dark, muted cyan. Relative luminance 0.020; OKLCH L 27.2% C 0.055 H 245.8°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).
Color values
| HEX | #0C2940 |
|---|---|
| RGB | rgb(12, 41, 64) |
| HSL | hsl(207, 68%, 15%) |
| HSV | hsv(207, 81%, 25%) |
| CMYK | cmyk(81.2%, 35.9%, 0%, 74.9%) |
| CIE-LAB | lab(15.66, -1.51, -17.70) |
| CIE-LCH | lch(15.66, 17.77, 265.11°) |
| OKLab | oklab(27.2% -0.0225 -0.0501) |
| OKLCH | oklch(27.2% 0.055 245.8) |
| XYZ | xyz(1.8696, 2.0340, 5.1436) |
| Luminance | 0.0203 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark
#1B2431
ΔE00 5.49
Navy Blue
#1B2A4A
ΔE00 6.48
Dark Blue Grey
#1F3B4D
ΔE00 6.64
Marine
#042E60
ΔE00 6.67
Marine Blue
#01386A
ΔE00 7.78
Dark Grey Blue
#29465B
ΔE00 9.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C2940 #40230C
analogous
#0C403D #0C2940 #0C0F40
triadic
#0C2940 #400C29 #29400C
tetradic
#0C2940 #3D0C40 #40230C #0F400C
square
#0C2940 #3D0C40 #40230C #0F400C
split-complementary
#0C2940 #400C0F #403D0C
monochromatic
#05111A #05111A #0C2940 #164A74 #1F6BA7
Accessibility & contrast
On white
14.93
#0C2940 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#0C2940 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C2940
14.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C2940 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C2940 | 1.00 | 14.93 | 1.41 | 14.93 |
| #FFFFFF | 14.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F2A41
Deuteranopia (green-blind)
#172540
Tritanopia (blue-blind)
#002F31
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #0c2940; /* rgb */ color: rgb(12, 41, 64); /* oklch */ color: oklch(27.2% 0.055 245.8);
Tailwind
colors: {
custom: {
50: '#536275',
500: '#0c2940',
950: '#000000',
},
}SCSS
$custom: #0c2940; $custom-light: #536275; $custom-dark: #000000;
JSON
{
"hex": "#0c2940",
"rgb": {
"r": 12,
"g": 41,
"b": 64
},
"hsl": {
"h": 206.538,
"s": 68.421,
"l": 14.902
},
"oklch": {
"l": 0.27196,
"c": 0.05497,
"h": 245.8
},
"luminance": 0.02034
}Semantic roles & 50–950 ramp
primary
#0C2940
secondary
#7C4F2C
accent
#8A3DEB
background
#F4F5F7
surface
#E8EAED
border
#C4C6C8
text
#030508
muted
#78797B