#0C304F#0C304F
#0C304F is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.1% C 0.069 H 248.6°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).
Color values
| HEX | #0C304F |
|---|---|
| RGB | rgb(12, 48, 79) |
| HSL | hsl(208, 74%, 18%) |
| HSV | hsv(208, 85%, 31%) |
| CMYK | cmyk(84.8%, 39.2%, 0%, 69%) |
| CIE-LAB | lab(19.04, -0.01, -22.61) |
| CIE-LCH | lch(19.04, 22.61, 269.98°) |
| OKLab | oklab(30.15% -0.0253 -0.0644) |
| OKLCH | oklch(30.15% 0.069 248.6) |
| XYZ | xyz(2.6193, 2.7563, 7.7896) |
| Luminance | 0.0276 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Marine
#042E60
ΔE00 4.11
Marine Blue
#01386A
ΔE00 4.55
Navy Blue
#1B2A4A
ΔE00 5.47
Dark Blue Grey
#1F3B4D
ΔE00 6.83
Twilight Blue
#0A437A
ΔE00 7.65
Prussian Blue
#004577
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C304F #4F2B0C
analogous
#0C4F4C #0C304F #0C0F4F
triadic
#0C304F #4F0C30 #304F0C
tetradic
#0C304F #4C0C4F #4F2B0C #0F4F0C
square
#0C304F #4C0C4F #4F2B0C #0F4F0C
split-complementary
#0C304F #4F0C0F #4F4C0C
monochromatic
#04101B #04101B #0C304F #145084 #1C71B9
Accessibility & contrast
On white
13.54
#0C304F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#0C304F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C304F
13.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C304F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C304F | 1.00 | 13.54 | 1.55 | 13.54 |
| #FFFFFF | 13.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#223250
Deuteranopia (green-blind)
#182B4E
Tritanopia (blue-blind)
#00373B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #0c304f; /* rgb */ color: rgb(12, 48, 79); /* oklch */ color: oklch(30.1% 0.069 248.6);
Tailwind
colors: {
custom: {
50: '#576880',
500: '#0c304f',
950: '#000000',
},
}SCSS
$custom: #0c304f; $custom-light: #576880; $custom-dark: #000000;
JSON
{
"hex": "#0c304f",
"rgb": {
"r": 12,
"g": 48,
"b": 79
},
"hsl": {
"h": 207.761,
"s": 73.626,
"l": 17.843
},
"oklch": {
"l": 0.30149,
"c": 0.06915,
"h": 248.6
},
"luminance": 0.02757
}Semantic roles & 50–950 ramp
primary
#0C304F
secondary
#8B582C
accent
#8D38F0
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#03060A
muted
#787A7C