#2F3592#2F3592
#2F3592 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.151 H 274.1°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3592 |
|---|---|
| RGB | rgb(47, 53, 146) |
| HSL | hsl(236, 51%, 38%) |
| HSV | hsv(236, 68%, 57%) |
| CMYK | cmyk(67.8%, 63.7%, 0%, 42.7%) |
| CIE-LAB | lab(27.37, 28.78, -52.10) |
| CIE-LCH | lch(27.37, 59.52, 298.92°) |
| OKLab | oklab(38.55% 0.0107 -0.1502) |
| OKLCH | oklch(38.55% 0.151 274.1) |
| XYZ | xyz(7.6320, 5.2252, 27.7949) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.82
Blueberry
#464196
ΔE00 4.46
Darkslateblue
#483D8B
ΔE00 4.84
Ocean Blue
#4F42B5
ΔE00 7.33
Royal
#0C1793
ΔE00 7.74
Cobalt
#0047AB
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3592 #928C2F
analogous
#2F6692 #2F3592 #5B2F92
triadic
#2F3592 #922F35 #35922F
tetradic
#2F3592 #922F66 #928C2F #2F925B
square
#2F3592 #922F66 #928C2F #2F925B
split-complementary
#2F3592 #925B2F #66922F
monochromatic
#111335 #202464 #2F3592 #3E46C0 #6C72D0
Accessibility & contrast
On white
10.27
#2F3592 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2F3592 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3592
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3592 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3592 | 1.00 | 10.27 | 2.05 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f3592; /* rgb */ color: rgb(47, 53, 146); /* oklch */ color: oklch(38.5% 0.151 274.1);
Tailwind
colors: {
custom: {
50: '#746cb3',
500: '#2f3592',
950: '#000000',
},
}SCSS
$custom: #2f3592; $custom-light: #746cb3; $custom-dark: #000000;
JSON
{
"hex": "#2f3592",
"rgb": {
"r": 47,
"g": 53,
"b": 146
},
"hsl": {
"h": 236.364,
"s": 51.295,
"l": 37.843
},
"oklch": {
"l": 0.38546,
"c": 0.15061,
"h": 274.1
},
"luminance": 0.05226
}Semantic roles & 50–950 ramp
primary
#2F3592
secondary
#B7B266
accent
#D24DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80