#394692#394692
#394692 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.125 H 272.7°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #394692 |
|---|---|
| RGB | rgb(57, 70, 146) |
| HSL | hsl(231, 44%, 40%) |
| HSV | hsv(231, 61%, 57%) |
| CMYK | cmyk(61%, 52.1%, 0%, 42.7%) |
| CIE-LAB | lab(32.54, 19.23, -43.69) |
| CIE-LCH | lch(32.54, 47.74, 293.76°) |
| OKLab | oklab(42.57% 0.0058 -0.125) |
| OKLCH | oklch(42.57% 0.125 272.7) |
| XYZ | xyz(9.0641, 7.3248, 28.1247) |
| Luminance | 0.0732 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.68
Cobalt (survey)
#1E488F
ΔE00 4.68
Darkslateblue
#483D8B
ΔE00 5.17
Twilight
#4E518B
ΔE00 5.45
Cobalt
#0047AB
ΔE00 5.68
Sapphire (survey)
#2138AB
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#394692 #928539
analogous
#397392 #394692 #593992
triadic
#394692 #923946 #469239
tetradic
#394692 #923973 #928539 #399259
square
#394692 #923973 #928539 #399259
split-complementary
#394692 #925939 #739239
monochromatic
#171C3A #283166 #394692 #4E5EBA #7A86CB
Accessibility & contrast
On white
8.52
#394692 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#394692 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #394692
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##394692 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##394692 | 1.00 | 8.52 | 2.47 | 8.52 |
| #FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C5195
Deuteranopia (green-blind)
#074990
Tritanopia (blue-blind)
#005765
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #394692; /* rgb */ color: rgb(57, 70, 146); /* oklch */ color: oklch(42.6% 0.125 272.7);
Tailwind
colors: {
custom: {
50: '#7879b2',
500: '#394692',
950: '#000000',
},
}SCSS
$custom: #394692; $custom-light: #7879b2; $custom-dark: #000000;
JSON
{
"hex": "#394692",
"rgb": {
"r": 57,
"g": 70,
"b": 146
},
"hsl": {
"h": 231.236,
"s": 43.842,
"l": 39.804
},
"oklch": {
"l": 0.42572,
"c": 0.12519,
"h": 272.7
},
"luminance": 0.07325
}Semantic roles & 50–950 ramp
primary
#394692
secondary
#B4AB72
accent
#C154D4
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80