#334696#334696
#334696 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.133 H 269.9°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #334696 |
|---|---|
| RGB | rgb(51, 70, 150) |
| HSL | hsl(228, 49%, 39%) |
| HSV | hsv(228, 66%, 59%) |
| CMYK | cmyk(66%, 53.3%, 0%, 41.2%) |
| CIE-LAB | lab(32.45, 19.56, -46.29) |
| CIE-LCH | lch(32.45, 50.25, 292.91°) |
| OKLab | oklab(42.5% -0.0003 -0.1328) |
| OKLCH | oklch(42.5% 0.133 269.9) |
| XYZ | xyz(9.0586, 7.2853, 29.7771) |
| Luminance | 0.0729 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.83
Blueberry
#464196
ΔE00 4.46
Cobalt
#0047AB
ΔE00 4.48
Sapphire (survey)
#2138AB
ΔE00 5.68
Darkslateblue
#483D8B
ΔE00 6.13
Darkish Blue
#014182
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#334696 #968333
analogous
#337896 #334696 #523396
triadic
#334696 #963346 #469633
tetradic
#334696 #963378 #968333 #339652
square
#334696 #963378 #968333 #339652
split-complementary
#334696 #965233 #789633
monochromatic
#141B3B #233168 #334696 #465DC0 #7485D0
Accessibility & contrast
On white
8.55
#334696 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#334696 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #334696
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##334696 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##334696 | 1.00 | 8.55 | 2.46 | 8.55 |
| #FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#145199
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #334696; /* rgb */ color: rgb(51, 70, 150); /* oklch */ color: oklch(42.5% 0.133 269.9);
Tailwind
colors: {
custom: {
50: '#7679b5',
500: '#334696',
950: '#000000',
},
}SCSS
$custom: #334696; $custom-light: #7679b5; $custom-dark: #000000;
JSON
{
"hex": "#334696",
"rgb": {
"r": 51,
"g": 70,
"b": 150
},
"hsl": {
"h": 228.485,
"s": 49.254,
"l": 39.412
},
"oklch": {
"l": 0.42498,
"c": 0.13284,
"h": 269.9
},
"luminance": 0.07286
}Semantic roles & 50–950 ramp
primary
#334696
secondary
#B8A96D
accent
#BE4FD9
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80