#0C2A3F#0C2A3F
#0C2A3F is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.4% C 0.053 H 242.8°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).
Color values
| HEX | #0C2A3F |
|---|---|
| RGB | rgb(12, 42, 63) |
| HSL | hsl(205, 68%, 15%) |
| HSV | hsv(205, 81%, 25%) |
| CMYK | cmyk(81%, 33.3%, 0%, 75.3%) |
| CIE-LAB | lab(15.97, -2.65, -16.54) |
| CIE-LCH | lch(15.97, 16.75, 260.88°) |
| OKLab | oklab(27.42% -0.0241 -0.0467) |
| OKLCH | oklch(27.42% 0.053 242.8) |
| XYZ | xyz(1.8764, 2.0928, 5.0067) |
| Luminance | 0.0209 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark
#1B2431
ΔE00 5.59
Dark Blue Grey
#1F3B4D
ΔE00 5.77
Marine
#042E60
ΔE00 7.52
Navy Blue
#1B2A4A
ΔE00 7.75
Marine Blue
#01386A
ΔE00 8.27
Gunmetal
#2A3439
ΔE00 8.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C2A3F #3F210C
analogous
#0C3F3B #0C2A3F #0C113F
triadic
#0C2A3F #3F0C2A #2A3F0C
tetradic
#0C2A3F #3B0C3F #3F210C #113F0C
square
#0C2A3F #3B0C3F #3F210C #113F0C
split-complementary
#0C2A3F #3F0C11 #3F3B0C
monochromatic
#05111A #05111A #0C2A3F #164C72 #206FA6
Accessibility & contrast
On white
14.80
#0C2A3F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#0C2A3F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C2A3F
14.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C2A3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C2A3F | 1.00 | 14.80 | 1.42 | 14.80 |
| #FFFFFF | 14.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#202A40
Deuteranopia (green-blind)
#19263F
Tritanopia (blue-blind)
#002F31
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #0c2a3f; /* rgb */ color: rgb(12, 42, 63); /* oklch */ color: oklch(27.4% 0.053 242.8);
Tailwind
colors: {
custom: {
50: '#536374',
500: '#0c2a3f',
950: '#000000',
},
}SCSS
$custom: #0c2a3f; $custom-light: #536374; $custom-dark: #000000;
JSON
{
"hex": "#0c2a3f",
"rgb": {
"r": 12,
"g": 42,
"b": 63
},
"hsl": {
"h": 204.706,
"s": 68,
"l": 14.706
},
"oklch": {
"l": 0.27416,
"c": 0.05257,
"h": 242.8
},
"luminance": 0.02093
}Semantic roles & 50–950 ramp
primary
#0C2A3F
secondary
#7B4C2C
accent
#853DEB
background
#F4F5F7
surface
#E7EAED
border
#C3C6C8
text
#030508
muted
#78797B