#08335F#08335F
#08335F is a dark, moderate cyan. Relative luminance 0.032; OKLCH L 32.0% C 0.090 H 253.3°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).
Color values
| HEX | #08335F |
|---|---|
| RGB | rgb(8, 51, 95) |
| HSL | hsl(210, 84%, 20%) |
| HSV | hsv(210, 92%, 37%) |
| CMYK | cmyk(91.6%, 46.3%, 0%, 62.7%) |
| CIE-LAB | lab(21.00, 4.43, -30.12) |
| CIE-LCH | lch(21.00, 30.45, 278.37°) |
| OKLab | oklab(31.99% -0.0259 -0.0864) |
| OKLCH | oklch(31.99% 0.09 253.3) |
| XYZ | xyz(3.3487, 3.2451, 11.2741) |
| Luminance | 0.0325 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Marine
#042E60
ΔE00 2.02
Marine Blue
#01386A
ΔE00 2.11
Twilight Blue
#0A437A
ΔE00 5.72
Navy Blue
#1B2A4A
ΔE00 5.79
Darkish Blue
#014182
ΔE00 5.84
Prussian Blue
#004577
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#08335F #5F3408
analogous
#085E5F #08335F #09085F
triadic
#08335F #5F0833 #335F08
tetradic
#08335F #5F085E #5F3408 #085F09
square
#08335F #5F085E #5F3408 #085F09
split-complementary
#08335F #5F0908 #5E5F08
monochromatic
#020F1C #031527 #08335F #0D5197 #1270D0
Accessibility & contrast
On white
12.73
#08335F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#08335F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #08335F
12.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##08335F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##08335F | 1.00 | 12.73 | 1.65 | 12.73 |
| #FFFFFF | 12.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C3761
Deuteranopia (green-blind)
#0B2F5E
Tritanopia (blue-blind)
#003E44
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #08335f; /* rgb */ color: rgb(8, 51, 95); /* oklch */ color: oklch(32.0% 0.090 253.3);
Tailwind
colors: {
custom: {
50: '#5a6a8d',
500: '#08335f',
950: '#000000',
},
}SCSS
$custom: #08335f; $custom-light: #5a6a8d; $custom-dark: #000000;
JSON
{
"hex": "#08335f",
"rgb": {
"r": 8,
"g": 51,
"b": 95
},
"hsl": {
"h": 210.345,
"s": 84.466,
"l": 20.196
},
"oklch": {
"l": 0.31991,
"c": 0.09019,
"h": 253.3
},
"luminance": 0.03246
}Semantic roles & 50–950 ramp
primary
#08335F
secondary
#9B6228
accent
#952DFB
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060C
muted
#797A7D