#0C313F#0C313F
#0C313F is a dark, muted cyan. Relative luminance 0.026; OKLCH L 29.4% C 0.048 H 227.3°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).
Color values
| HEX | #0C313F |
|---|---|
| RGB | rgb(12, 49, 63) |
| HSL | hsl(196, 68%, 15%) |
| HSV | hsv(196, 81%, 25%) |
| CMYK | cmyk(81%, 22.2%, 0%, 75.3%) |
| CIE-LAB | lab(18.51, -7.42, -12.58) |
| CIE-LCH | lch(18.51, 14.60, 239.46°) |
| OKLab | oklab(29.44% -0.0326 -0.0352) |
| OKLCH | oklch(29.44% 0.048 227.3) |
| XYZ | xyz(2.1468, 2.6334, 5.0968) |
| Luminance | 0.0263 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Blue Grey
#1F3B4D
ΔE00 4.76
Gunmetal
#2A3439
ΔE00 7.14
Dark Grey Blue
#29465B
ΔE00 8.18
Charcoal
#36454F
ΔE00 8.65
Dark Slate Blue
#214761
ΔE00 8.88
Dark
#1B2431
ΔE00 9.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C313F #3F1A0C
analogous
#0C3F34 #0C313F #0C173F
triadic
#0C313F #3F0C31 #313F0C
tetradic
#0C313F #340C3F #3F1A0C #173F0C
square
#0C313F #340C3F #3F1A0C #173F0C
split-complementary
#0C313F #3F0C17 #3F340C
monochromatic
#05141A #05141A #0C313F #165972 #2081A6
Accessibility & contrast
On white
13.75
#0C313F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#0C313F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C313F
13.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C313F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C313F | 1.00 | 13.75 | 1.53 | 13.75 |
| #FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3040
Deuteranopia (green-blind)
#232B3F
Tritanopia (blue-blind)
#003536
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #0c313f; /* rgb */ color: rgb(12, 49, 63); /* oklch */ color: oklch(29.4% 0.048 227.3);
Tailwind
colors: {
custom: {
50: '#536974',
500: '#0c313f',
950: '#000000',
},
}SCSS
$custom: #0c313f; $custom-light: #536974; $custom-dark: #000000;
JSON
{
"hex": "#0c313f",
"rgb": {
"r": 12,
"g": 49,
"b": 63
},
"hsl": {
"h": 196.471,
"s": 68,
"l": 14.706
},
"oklch": {
"l": 0.2944,
"c": 0.04799,
"h": 227.3
},
"luminance": 0.02634
}Semantic roles & 50–950 ramp
primary
#0C313F
secondary
#7B412C
accent
#6D3DEB
background
#F5F6F7
surface
#E8EBED
border
#C4C6C8
text
#030608
muted
#787A7B