#2F3993#2F3993
#2F3993 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.147 H 272.8°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3993 |
|---|---|
| RGB | rgb(47, 57, 147) |
| HSL | hsl(234, 52%, 38%) |
| HSV | hsv(234, 68%, 58%) |
| CMYK | cmyk(68%, 61.2%, 0%, 42.4%) |
| CIE-LAB | lab(28.48, 26.50, -50.91) |
| CIE-LCH | lch(28.48, 57.39, 297.50°) |
| OKLab | oklab(39.39% 0.0072 -0.1467) |
| OKLCH | oklch(39.39% 0.147 272.8) |
| XYZ | xyz(7.9001, 5.6365, 28.2697) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.66
Blueberry
#464196
ΔE00 3.93
Darkslateblue
#483D8B
ΔE00 4.73
Cobalt
#0047AB
ΔE00 6.80
Cobalt (survey)
#1E488F
ΔE00 6.91
Ocean Blue
#4F42B5
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3993 #93892F
analogous
#2F6B93 #2F3993 #572F93
triadic
#2F3993 #932F39 #39932F
tetradic
#2F3993 #932F6B #93892F #2F9357
square
#2F3993 #932F6B #93892F #2F9357
split-complementary
#2F3993 #93572F #6B932F
monochromatic
#111536 #202765 #2F3993 #3E4BC1 #6C76D0
Accessibility & contrast
On white
9.87
#2F3993 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#2F3993 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3993
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3993 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3993 | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004896
Deuteranopia (green-blind)
#003F91
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2f3993; /* rgb */ color: rgb(47, 57, 147); /* oklch */ color: oklch(39.4% 0.147 272.8);
Tailwind
colors: {
custom: {
50: '#746fb3',
500: '#2f3993',
950: '#000000',
},
}SCSS
$custom: #2f3993; $custom-light: #746fb3; $custom-dark: #000000;
JSON
{
"hex": "#2f3993",
"rgb": {
"r": 47,
"g": 57,
"b": 147
},
"hsl": {
"h": 234,
"s": 51.546,
"l": 38.039
},
"oklch": {
"l": 0.3939,
"c": 0.14687,
"h": 272.8
},
"luminance": 0.05637
}Semantic roles & 50–950 ramp
primary
#2F3993
secondary
#B7AF66
accent
#CD4DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80