#334890#334890
#334890 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.5% C 0.121 H 268.6°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #334890 |
|---|---|
| RGB | rgb(51, 72, 144) |
| HSL | hsl(226, 48%, 38%) |
| HSV | hsv(226, 65%, 56%) |
| CMYK | cmyk(64.6%, 50%, 0%, 43.5%) |
| CIE-LAB | lab(32.59, 16.01, -42.39) |
| CIE-LCH | lch(32.59, 45.31, 290.69°) |
| OKLab | oklab(42.48% -0.003 -0.1213) |
| OKLCH | oklch(42.48% 0.121 268.6) |
| XYZ | xyz(8.7149, 7.3514, 27.3398) |
| Luminance | 0.0735 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.15
Cobalt
#0047AB
ΔE00 4.88
Blueberry
#464196
ΔE00 5.33
Dusk Blue
#26538D
ΔE00 5.65
Darkish Blue
#014182
ΔE00 5.65
Twilight
#4E518B
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#334890 #907B33
analogous
#337690 #334890 #4D3390
triadic
#334890 #903348 #489033
tetradic
#334890 #903376 #907B33 #33904D
square
#334890 #903376 #907B33 #33904D
split-complementary
#334890 #904D33 #769033
monochromatic
#131B36 #233163 #334890 #445FBD #7186CD
Accessibility & contrast
On white
8.50
#334890 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#334890 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #334890
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##334890 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##334890 | 1.00 | 8.50 | 2.47 | 8.50 |
| #FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#225193
Deuteranopia (green-blind)
#0E498F
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #334890; /* rgb */ color: rgb(51, 72, 144); /* oklch */ color: oklch(42.5% 0.121 268.6);
Tailwind
colors: {
custom: {
50: '#757ab1',
500: '#334890',
950: '#000000',
},
}SCSS
$custom: #334890; $custom-light: #757ab1; $custom-dark: #000000;
JSON
{
"hex": "#334890",
"rgb": {
"r": 51,
"g": 72,
"b": 144
},
"hsl": {
"h": 226.452,
"s": 47.692,
"l": 38.235
},
"oklch": {
"l": 0.42475,
"c": 0.12139,
"h": 268.6
},
"luminance": 0.07352
}Semantic roles & 50–950 ramp
primary
#334890
secondary
#B5A46A
accent
#B951D7
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090911
muted
#7B7B80