#334F99#334F99
#334F99 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.6% C 0.125 H 265.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #334F99 |
|---|---|
| RGB | rgb(51, 79, 153) |
| HSL | hsl(224, 50%, 40%) |
| HSV | hsv(224, 67%, 60%) |
| CMYK | cmyk(66.7%, 48.4%, 0%, 40%) |
| CIE-LAB | lab(35.19, 14.67, -43.69) |
| CIE-LCH | lch(35.19, 46.08, 288.56°) |
| OKLab | oklab(44.65% -0.0089 -0.1251) |
| OKLCH | oklch(44.65% 0.125 265.9) |
| XYZ | xyz(9.9090, 8.5948, 31.2676) |
| Luminance | 0.0860 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.30
Dusk Blue
#26538D
ΔE00 3.98
Cobalt
#0047AB
ΔE00 4.29
Denim Blue
#3B5B92
ΔE00 4.30
Sapphire
#0F52BA
ΔE00 4.82
Dusky Blue
#475F94
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#334F99 #997D33
analogous
#338299 #334F99 #4A3399
triadic
#334F99 #99334F #4F9933
tetradic
#334F99 #993382 #997D33 #33994A
square
#334F99 #993382 #997D33 #33994A
split-complementary
#334F99 #994A33 #829933
monochromatic
#14203D #24376B #334F99 #4769C2 #758FD1
Accessibility & contrast
On white
7.72
#334F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#334F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #334F99
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##334F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##334F99 | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#29589C
Deuteranopia (green-blind)
#144E97
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #334f99; /* rgb */ color: rgb(51, 79, 153); /* oklch */ color: oklch(44.6% 0.125 265.9);
Tailwind
colors: {
custom: {
50: '#767fb7',
500: '#334f99',
950: '#000000',
},
}SCSS
$custom: #334f99; $custom-light: #767fb7; $custom-dark: #000000;
JSON
{
"hex": "#334f99",
"rgb": {
"r": 51,
"g": 79,
"b": 153
},
"hsl": {
"h": 223.529,
"s": 50,
"l": 40
},
"oklch": {
"l": 0.44648,
"c": 0.12538,
"h": 265.9
},
"luminance": 0.08596
}Semantic roles & 50–950 ramp
primary
#334F99
secondary
#B9A56E
accent
#B34EDA
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80