#334499#334499
#334499 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.3% C 0.140 H 270.7°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #334499 |
|---|---|
| RGB | rgb(51, 68, 153) |
| HSL | hsl(230, 50%, 40%) |
| HSV | hsv(230, 67%, 60%) |
| CMYK | cmyk(66.7%, 55.6%, 0%, 40%) |
| CIE-LAB | lab(32.12, 22.01, -48.65) |
| CIE-LCH | lch(32.12, 53.39, 294.34°) |
| OKLab | oklab(42.32% 0.0018 -0.1398) |
| OKLCH | oklch(42.32% 0.14 270.7) |
| XYZ | xyz(9.1802, 7.1371, 31.0246) |
| Luminance | 0.0714 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.93
Cobalt (survey)
#1E488F
ΔE00 4.51
Cobalt
#0047AB
ΔE00 4.55
Sapphire (survey)
#2138AB
ΔE00 4.81
Darkslateblue
#483D8B
ΔE00 5.72
Blue Blue
#2242C7
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#334499 #998833
analogous
#337799 #334499 #553399
triadic
#334499 #993344 #449933
tetradic
#334499 #993377 #998833 #339955
square
#334499 #993377 #998833 #339955
split-complementary
#334499 #995533 #779933
monochromatic
#141B3D #24306B #334499 #475CC2 #7585D1
Accessibility & contrast
On white
8.65
#334499 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#334499 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #334499
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##334499 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##334499 | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#02509C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #334499; /* rgb */ color: rgb(51, 68, 153); /* oklch */ color: oklch(42.3% 0.140 270.7);
Tailwind
colors: {
custom: {
50: '#7777b8',
500: '#334499',
950: '#000000',
},
}SCSS
$custom: #334499; $custom-light: #7777b8; $custom-dark: #000000;
JSON
{
"hex": "#334499",
"rgb": {
"r": 51,
"g": 68,
"b": 153
},
"hsl": {
"h": 230,
"s": 50,
"l": 40
},
"oklch": {
"l": 0.42318,
"c": 0.13982,
"h": 270.7
},
"luminance": 0.07138
}Semantic roles & 50–950 ramp
primary
#334499
secondary
#B9AD6E
accent
#C24EDA
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80