#0C295F#0C295F
#0C295F is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.103 H 261.4°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).
Color values
| HEX | #0C295F |
|---|---|
| RGB | rgb(12, 41, 95) |
| HSL | hsl(219, 78%, 21%) |
| HSV | hsv(219, 87%, 37%) |
| CMYK | cmyk(87.4%, 56.8%, 0%, 62.7%) |
| CIE-LAB | lab(17.87, 12.18, -35.16) |
| CIE-LCH | lch(17.87, 37.21, 289.10°) |
| OKLab | oklab(29.62% -0.0153 -0.1014) |
| OKLCH | oklch(29.62% 0.103 261.4) |
| XYZ | xyz(3.0094, 2.4899, 11.1462) |
| Luminance | 0.0249 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.45
Navy Blue
#1B2A4A
ΔE00 5.07
Marine Blue
#01386A
ΔE00 5.92
Navy (survey)
#01153E
ΔE00 7.19
Navy Blue (survey)
#001146
ΔE00 7.78
Midnight Blue
#191970
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C295F #5F420C
analogous
#0C525F #0C295F #180C5F
triadic
#0C295F #5F0C29 #295F0C
tetradic
#0C295F #5F0C52 #5F420C #0C5F18
square
#0C295F #5F0C52 #5F420C #0C5F18
split-complementary
#0C295F #5F180C #525F0C
monochromatic
#030C1B #051229 #0C295F #134095 #1A58CC
Accessibility & contrast
On white
14.02
#0C295F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#0C295F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C295F
14.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C295F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C295F | 1.00 | 14.02 | 1.50 | 14.02 |
| #FFFFFF | 14.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#023061
Deuteranopia (green-blind)
#00285E
Tritanopia (blue-blind)
#00363F
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #0c295f; /* rgb */ color: rgb(12, 41, 95); /* oklch */ color: oklch(29.6% 0.103 261.4);
Tailwind
colors: {
custom: {
50: '#5b628d',
500: '#0c295f',
950: '#000000',
},
}SCSS
$custom: #0c295f; $custom-light: #5b628d; $custom-dark: #000000;
JSON
{
"hex": "#0c295f",
"rgb": {
"r": 12,
"g": 41,
"b": 95
},
"hsl": {
"h": 219.036,
"s": 77.57,
"l": 20.98
},
"oklch": {
"l": 0.29616,
"c": 0.10254,
"h": 261.4
},
"luminance": 0.0249
}Semantic roles & 50–950 ramp
primary
#0C295F
secondary
#99742D
accent
#B134F4
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05050C
muted
#79797D