#334C91#334C91
#334C91 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.4% C 0.118 H 266.6°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #334C91 |
|---|---|
| RGB | rgb(51, 76, 145) |
| HSL | hsl(224, 48%, 38%) |
| HSV | hsv(224, 65%, 57%) |
| CMYK | cmyk(64.8%, 47.6%, 0%, 43.1%) |
| CIE-LAB | lab(33.81, 13.70, -41.05) |
| CIE-LCH | lch(33.81, 43.28, 288.46°) |
| OKLab | oklab(43.42% -0.007 -0.1174) |
| OKLCH | oklch(43.42% 0.118 266.6) |
| XYZ | xyz(9.0588, 7.9162, 27.8332) |
| Luminance | 0.0792 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.79
Dusk Blue
#26538D
ΔE00 4.37
Cobalt
#0047AB
ΔE00 4.76
Denim Blue
#3B5B92
ΔE00 5.10
Darkish Blue
#014182
ΔE00 5.70
Twilight
#4E518B
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#334C91 #917833
analogous
#337B91 #334C91 #493391
triadic
#334C91 #91334C #4C9133
tetradic
#334C91 #91337B #917833 #339149
square
#334C91 #91337B #917833 #339149
split-complementary
#334C91 #914933 #7B9133
monochromatic
#131D36 #233464 #334C91 #4464BD #718ACD
Accessibility & contrast
On white
8.13
#334C91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#334C91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #334C91
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##334C91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##334C91 | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A5494
Deuteranopia (green-blind)
#194B90
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #334c91; /* rgb */ color: rgb(51, 76, 145); /* oklch */ color: oklch(43.4% 0.118 266.6);
Tailwind
colors: {
custom: {
50: '#757db2',
500: '#334c91',
950: '#000000',
},
}SCSS
$custom: #334c91; $custom-light: #757db2; $custom-dark: #000000;
JSON
{
"hex": "#334c91",
"rgb": {
"r": 51,
"g": 76,
"b": 145
},
"hsl": {
"h": 224.043,
"s": 47.959,
"l": 38.431
},
"oklch": {
"l": 0.43422,
"c": 0.11757,
"h": 266.6
},
"luminance": 0.07917
}Semantic roles & 50–950 ramp
primary
#334C91
secondary
#B5A16B
accent
#B450D8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80