#2F3E93#2F3E93
#2F3E93 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.140 H 271.1°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3E93 |
|---|---|
| RGB | rgb(47, 62, 147) |
| HSL | hsl(231, 52%, 38%) |
| HSV | hsv(231, 68%, 58%) |
| CMYK | cmyk(68%, 57.8%, 0%, 42.4%) |
| CIE-LAB | lab(29.80, 23.15, -48.75) |
| CIE-LCH | lch(29.80, 53.97, 295.40°) |
| OKLab | oklab(40.38% 0.0028 -0.1403) |
| OKLCH | oklch(40.38% 0.14 271.1) |
| XYZ | xyz(8.1596, 6.1554, 28.3562) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.86
Sapphire (survey)
#2138AB
ΔE00 4.23
Darkslateblue
#483D8B
ΔE00 5.07
Cobalt (survey)
#1E488F
ΔE00 5.34
Cobalt
#0047AB
ΔE00 5.60
Darkish Blue
#014182
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3E93 #93842F
analogous
#2F7093 #2F3E93 #522F93
triadic
#2F3E93 #932F3E #3E932F
tetradic
#2F3E93 #932F70 #93842F #2F9352
square
#2F3E93 #932F70 #93842F #2F9352
split-complementary
#2F3E93 #93522F #70932F
monochromatic
#111736 #202A65 #2F3E93 #3E52C1 #6C7BD0
Accessibility & contrast
On white
9.41
#2F3E93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#2F3E93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3E93
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3E93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3E93 | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2f3e93; /* rgb */ color: rgb(47, 62, 147); /* oklch */ color: oklch(40.4% 0.140 271.1);
Tailwind
colors: {
custom: {
50: '#7473b3',
500: '#2f3e93',
950: '#000000',
},
}SCSS
$custom: #2f3e93; $custom-light: #7473b3; $custom-dark: #000000;
JSON
{
"hex": "#2f3e93",
"rgb": {
"r": 47,
"g": 62,
"b": 147
},
"hsl": {
"h": 231,
"s": 51.546,
"l": 38.039
},
"oklch": {
"l": 0.40376,
"c": 0.14032,
"h": 271.1
},
"luminance": 0.06156
}Semantic roles & 50–950 ramp
primary
#2F3E93
secondary
#B7AB66
accent
#C64DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80