#334F92#334F92
#334F92 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.2% C 0.115 H 265.0°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #334F92 |
|---|---|
| RGB | rgb(51, 79, 146) |
| HSL | hsl(222, 48%, 39%) |
| HSV | hsv(222, 65%, 57%) |
| CMYK | cmyk(65.1%, 45.9%, 0%, 42.7%) |
| CIE-LAB | lab(34.74, 12.08, -40.17) |
| CIE-LCH | lch(34.74, 41.94, 286.74°) |
| OKLab | oklab(44.16% -0.01 -0.1147) |
| OKLCH | oklch(44.16% 0.115 265) |
| XYZ | xyz(9.3477, 8.3702, 28.3116) |
| Luminance | 0.0837 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.99
Dusk Blue
#26538D
ΔE00 3.49
Denim Blue
#3B5B92
ΔE00 4.06
Cobalt
#0047AB
ΔE00 4.89
Light Navy Blue
#2E5A88
ΔE00 5.47
Dusky Blue
#475F94
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#334F92 #927633
analogous
#337E92 #334F92 #463392
triadic
#334F92 #92334F #4F9233
tetradic
#334F92 #92337E #927633 #339246
square
#334F92 #92337E #927633 #339246
split-complementary
#334F92 #924633 #7E9233
monochromatic
#131E37 #233665 #334F92 #4468BE #728DCE
Accessibility & contrast
On white
7.85
#334F92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#334F92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #334F92
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##334F92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##334F92 | 1.00 | 7.85 | 2.67 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F5695
Deuteranopia (green-blind)
#1F4E91
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #334f92; /* rgb */ color: rgb(51, 79, 146); /* oklch */ color: oklch(44.2% 0.115 265.0);
Tailwind
colors: {
custom: {
50: '#757fb2',
500: '#334f92',
950: '#000000',
},
}SCSS
$custom: #334f92; $custom-light: #757fb2; $custom-dark: #000000;
JSON
{
"hex": "#334f92",
"rgb": {
"r": 51,
"g": 79,
"b": 146
},
"hsl": {
"h": 222.316,
"s": 48.223,
"l": 38.627
},
"oklch": {
"l": 0.44159,
"c": 0.11514,
"h": 265
},
"luminance": 0.08371
}Semantic roles & 50–950 ramp
primary
#334F92
secondary
#B6A06B
accent
#B050D8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80