#334792#334792
#334792 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.126 H 269.2°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #334792 |
|---|---|
| RGB | rgb(51, 71, 146) |
| HSL | hsl(227, 48%, 39%) |
| HSV | hsv(227, 65%, 57%) |
| CMYK | cmyk(65.1%, 51.4%, 0%, 42.7%) |
| CIE-LAB | lab(32.45, 17.42, -43.85) |
| CIE-LCH | lch(32.45, 47.18, 291.66°) |
| OKLab | oklab(42.41% -0.0017 -0.1257) |
| OKLCH | oklch(42.41% 0.126 269.2) |
| XYZ | xyz(8.8050, 7.2848, 28.1307) |
| Luminance | 0.0729 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.41
Cobalt
#0047AB
ΔE00 4.74
Blueberry
#464196
ΔE00 4.91
Darkish Blue
#014182
ΔE00 5.84
Twilight
#4E518B
ΔE00 6.03
Dusk Blue
#26538D
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#334792 #927E33
analogous
#337692 #334792 #4E3392
triadic
#334792 #923347 #479233
tetradic
#334792 #923376 #927E33 #33924E
square
#334792 #923376 #927E33 #33924E
split-complementary
#334792 #924E33 #769233
monochromatic
#131B37 #233165 #334792 #445EBE #7285CE
Accessibility & contrast
On white
8.55
#334792 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#334792 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #334792
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##334792 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##334792 | 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)
#1D5195
Deuteranopia (green-blind)
#034890
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #334792; /* rgb */ color: rgb(51, 71, 146); /* oklch */ color: oklch(42.4% 0.126 269.2);
Tailwind
colors: {
custom: {
50: '#7579b2',
500: '#334792',
950: '#000000',
},
}SCSS
$custom: #334792; $custom-light: #7579b2; $custom-dark: #000000;
JSON
{
"hex": "#334792",
"rgb": {
"r": 51,
"g": 71,
"b": 146
},
"hsl": {
"h": 227.368,
"s": 48.223,
"l": 38.627
},
"oklch": {
"l": 0.42407,
"c": 0.12567,
"h": 269.2
},
"luminance": 0.07286
}Semantic roles & 50–950 ramp
primary
#334792
secondary
#B6A66B
accent
#BB50D8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80