#0C334B#0C334B
#0C334B is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 30.7% C 0.061 H 240.4°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).
Color values
| HEX | #0C334B |
|---|---|
| RGB | rgb(12, 51, 75) |
| HSL | hsl(203, 72%, 17%) |
| HSV | hsv(203, 84%, 29%) |
| CMYK | cmyk(84%, 32%, 0%, 70.6%) |
| CIE-LAB | lab(19.86, -3.81, -18.63) |
| CIE-LCH | lch(19.86, 19.02, 258.46°) |
| OKLab | oklab(30.72% -0.0299 -0.0527) |
| OKLCH | oklch(30.72% 0.061 240.4) |
| XYZ | xyz(2.6049, 2.9535, 7.0880) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Blue Grey
#1F3B4D
ΔE00 3.69
Dark Grey Blue
#29465B
ΔE00 6.38
Dark Slate Blue
#214761
ΔE00 6.40
Marine Blue
#01386A
ΔE00 6.55
Marine
#042E60
ΔE00 7.18
Dark
#1B2431
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C334B #4B240C
analogous
#0C4B44 #0C334B #0C144B
triadic
#0C334B #4B0C33 #334B0C
tetradic
#0C334B #440C4B #4B240C #144B0C
square
#0C334B #440C4B #4B240C #144B0C
split-complementary
#0C334B #4B0C14 #4B440C
monochromatic
#04121A #04121A #0C334B #145780 #1D7BB5
Accessibility & contrast
On white
13.20
#0C334B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#0C334B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C334B
13.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C334B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C334B | 1.00 | 13.20 | 1.59 | 13.20 |
| #FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#28334C
Deuteranopia (green-blind)
#1F2D4B
Tritanopia (blue-blind)
#00393B
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #0c334b; /* rgb */ color: rgb(12, 51, 75); /* oklch */ color: oklch(30.7% 0.061 240.4);
Tailwind
colors: {
custom: {
50: '#566a7d',
500: '#0c334b',
950: '#000000',
},
}SCSS
$custom: #0c334b; $custom-light: #566a7d; $custom-dark: #000000;
JSON
{
"hex": "#0c334b",
"rgb": {
"r": 12,
"g": 51,
"b": 75
},
"hsl": {
"h": 202.857,
"s": 72.414,
"l": 17.059
},
"oklch": {
"l": 0.30717,
"c": 0.06061,
"h": 240.4
},
"luminance": 0.02954
}Semantic roles & 50–950 ramp
primary
#0C334B
secondary
#874F2C
accent
#7E39EF
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#030609
muted
#787A7B