#334C93#334C93
#334C93 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.6% C 0.121 H 266.8°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #334C93 |
|---|---|
| RGB | rgb(51, 76, 147) |
| HSL | hsl(224, 48%, 39%) |
| HSV | hsv(224, 65%, 58%) |
| CMYK | cmyk(65.3%, 48.3%, 0%, 42.4%) |
| CIE-LAB | lab(33.94, 14.44, -42.06) |
| CIE-LCH | lch(33.94, 44.47, 288.95°) |
| OKLab | oklab(43.56% -0.0067 -0.1203) |
| OKLCH | oklch(43.56% 0.121 266.8) |
| XYZ | xyz(9.2143, 7.9784, 28.6525) |
| Luminance | 0.0798 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.85
Dusk Blue
#26538D
ΔE00 4.47
Cobalt
#0047AB
ΔE00 4.56
Denim Blue
#3B5B92
ΔE00 5.14
Darkish Blue
#014182
ΔE00 5.83
Sapphire
#0F52BA
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#334C93 #937A33
analogous
#337C93 #334C93 #4A3393
triadic
#334C93 #93334C #4C9333
tetradic
#334C93 #93337C #937A33 #33934A
square
#334C93 #93337C #937A33 #33934A
split-complementary
#334C93 #934A33 #7C9333
monochromatic
#131D38 #233566 #334C93 #4564BE #728ACE
Accessibility & contrast
On white
8.09
#334C93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#334C93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #334C93
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##334C93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##334C93 | 1.00 | 8.09 | 2.60 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#285496
Deuteranopia (green-blind)
#164C92
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #334c93; /* rgb */ color: rgb(51, 76, 147); /* oklch */ color: oklch(43.6% 0.121 266.8);
Tailwind
colors: {
custom: {
50: '#757db3',
500: '#334c93',
950: '#000000',
},
}SCSS
$custom: #334c93; $custom-light: #757db3; $custom-dark: #000000;
JSON
{
"hex": "#334c93",
"rgb": {
"r": 51,
"g": 76,
"b": 147
},
"hsl": {
"h": 224.375,
"s": 48.485,
"l": 38.824
},
"oklch": {
"l": 0.43564,
"c": 0.12052,
"h": 266.8
},
"luminance": 0.07979
}Semantic roles & 50–950 ramp
primary
#334C93
secondary
#B6A36C
accent
#B550D8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80