#334E99#334E99
#334E99 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.4% C 0.127 H 266.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #334E99 |
|---|---|
| RGB | rgb(51, 78, 153) |
| HSL | hsl(224, 50%, 40%) |
| HSV | hsv(224, 67%, 60%) |
| CMYK | cmyk(66.7%, 49%, 0%, 40%) |
| CIE-LAB | lab(34.91, 15.33, -44.15) |
| CIE-LCH | lch(34.91, 46.73, 289.15°) |
| OKLab | oklab(44.43% -0.0079 -0.1264) |
| OKLCH | oklch(44.43% 0.127 266.4) |
| XYZ | xyz(9.8374, 8.4516, 31.2437) |
| Luminance | 0.0845 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.23
Cobalt
#0047AB
ΔE00 4.18
Dusk Blue
#26538D
ΔE00 4.25
Denim Blue
#3B5B92
ΔE00 4.65
Sapphire
#0F52BA
ΔE00 4.95
Dusky Blue
#475F94
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#334E99 #997E33
analogous
#338199 #334E99 #4B3399
triadic
#334E99 #99334E #4E9933
tetradic
#334E99 #993381 #997E33 #33994B
square
#334E99 #993381 #997E33 #33994B
split-complementary
#334E99 #994B33 #819933
monochromatic
#141F3D #24376B #334E99 #4768C2 #758ED1
Accessibility & contrast
On white
7.81
#334E99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#334E99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #334E99
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##334E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##334E99 | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27579C
Deuteranopia (green-blind)
#104E97
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #334e99; /* rgb */ color: rgb(51, 78, 153); /* oklch */ color: oklch(44.4% 0.127 266.4);
Tailwind
colors: {
custom: {
50: '#767fb7',
500: '#334e99',
950: '#000000',
},
}SCSS
$custom: #334e99; $custom-light: #767fb7; $custom-dark: #000000;
JSON
{
"hex": "#334e99",
"rgb": {
"r": 51,
"g": 78,
"b": 153
},
"hsl": {
"h": 224.118,
"s": 50,
"l": 40
},
"oklch": {
"l": 0.4443,
"c": 0.12667,
"h": 266.4
},
"luminance": 0.08452
}Semantic roles & 50–950 ramp
primary
#334E99
secondary
#B9A66E
accent
#B54EDA
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80