#334692#334692
#334692 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.2% C 0.127 H 269.7°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #334692 |
|---|---|
| RGB | rgb(51, 70, 146) |
| HSL | hsl(228, 48%, 39%) |
| HSV | hsv(228, 65%, 57%) |
| CMYK | cmyk(65.1%, 52.1%, 0%, 42.7%) |
| CIE-LAB | lab(32.17, 18.09, -44.30) |
| CIE-LCH | lch(32.17, 47.85, 292.21°) |
| OKLab | oklab(42.19% -0.0007 -0.127) |
| OKLCH | oklch(42.19% 0.127 269.7) |
| XYZ | xyz(8.7420, 7.1587, 28.1096) |
| Luminance | 0.0716 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.62
Blueberry
#464196
ΔE00 4.65
Cobalt
#0047AB
ΔE00 4.83
Darkish Blue
#014182
ΔE00 5.92
Darkslateblue
#483D8B
ΔE00 6.13
Twilight
#4E518B
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#334692 #927F33
analogous
#337592 #334692 #4F3392
triadic
#334692 #923346 #469233
tetradic
#334692 #923375 #927F33 #33924F
square
#334692 #923375 #927F33 #33924F
split-complementary
#334692 #924F33 #759233
monochromatic
#131B37 #233065 #334692 #445DBE #7284CE
Accessibility & contrast
On white
8.64
#334692 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#334692 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #334692
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##334692 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##334692 | 1.00 | 8.64 | 2.43 | 8.64 |
| #FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A5095
Deuteranopia (green-blind)
#004890
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #334692; /* rgb */ color: rgb(51, 70, 146); /* oklch */ color: oklch(42.2% 0.127 269.7);
Tailwind
colors: {
custom: {
50: '#7579b2',
500: '#334692',
950: '#000000',
},
}SCSS
$custom: #334692; $custom-light: #7579b2; $custom-dark: #000000;
JSON
{
"hex": "#334692",
"rgb": {
"r": 51,
"g": 70,
"b": 146
},
"hsl": {
"h": 228,
"s": 48.223,
"l": 38.627
},
"oklch": {
"l": 0.42194,
"c": 0.12701,
"h": 269.7
},
"luminance": 0.07159
}Semantic roles & 50–950 ramp
primary
#334692
secondary
#B6A76B
accent
#BD50D8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80