#334F96#334F96
#334F96 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.4% C 0.121 H 265.6°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #334F96 |
|---|---|
| RGB | rgb(51, 79, 150) |
| HSL | hsl(223, 49%, 39%) |
| HSV | hsv(223, 66%, 59%) |
| CMYK | cmyk(66%, 47.3%, 0%, 41.2%) |
| CIE-LAB | lab(35.00, 13.56, -42.19) |
| CIE-LCH | lch(35.00, 44.31, 287.81°) |
| OKLab | oklab(44.44% -0.0094 -0.1206) |
| OKLCH | oklch(44.44% 0.121 265.6) |
| XYZ | xyz(9.6643, 8.4969, 29.9790) |
| Luminance | 0.0850 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.13
Dusk Blue
#26538D
ΔE00 3.75
Denim Blue
#3B5B92
ΔE00 4.18
Cobalt
#0047AB
ΔE00 4.53
Sapphire
#0F52BA
ΔE00 5.13
Dusky Blue
#475F94
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#334F96 #967A33
analogous
#338196 #334F96 #483396
triadic
#334F96 #96334F #4F9633
tetradic
#334F96 #963381 #967A33 #339648
square
#334F96 #963381 #967A33 #339648
split-complementary
#334F96 #964833 #819633
monochromatic
#141F3B #233768 #334F96 #4669C0 #748ED0
Accessibility & contrast
On white
7.78
#334F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#334F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #334F96
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##334F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##334F96 | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C5799
Deuteranopia (green-blind)
#194E95
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #334f96; /* rgb */ color: rgb(51, 79, 150); /* oklch */ color: oklch(44.4% 0.121 265.6);
Tailwind
colors: {
custom: {
50: '#757fb5',
500: '#334f96',
950: '#000000',
},
}SCSS
$custom: #334f96; $custom-light: #757fb5; $custom-dark: #000000;
JSON
{
"hex": "#334f96",
"rgb": {
"r": 51,
"g": 79,
"b": 150
},
"hsl": {
"h": 223.03,
"s": 49.254,
"l": 39.412
},
"oklch": {
"l": 0.44436,
"c": 0.121,
"h": 265.6
},
"luminance": 0.08498
}Semantic roles & 50–950 ramp
primary
#334F96
secondary
#B8A36D
accent
#B24FD9
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80