#2F3D93#2F3D93
#2F3D93 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.142 H 271.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3D93 |
|---|---|
| RGB | rgb(47, 61, 147) |
| HSL | hsl(232, 52%, 38%) |
| HSV | hsv(232, 68%, 58%) |
| CMYK | cmyk(68%, 58.5%, 0%, 42.4%) |
| CIE-LAB | lab(29.53, 23.82, -49.19) |
| CIE-LCH | lch(29.53, 54.65, 295.84°) |
| OKLab | oklab(40.17% 0.0037 -0.1416) |
| OKLCH | oklch(40.17% 0.142 271.5) |
| XYZ | xyz(8.1057, 6.0477, 28.3383) |
| Luminance | 0.0605 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.81
Sapphire (survey)
#2138AB
ΔE00 4.07
Darkslateblue
#483D8B
ΔE00 4.96
Cobalt (survey)
#1E488F
ΔE00 5.65
Cobalt
#0047AB
ΔE00 5.83
Darkish Blue
#014182
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3D93 #93852F
analogous
#2F6F93 #2F3D93 #532F93
triadic
#2F3D93 #932F3D #3D932F
tetradic
#2F3D93 #932F6F #93852F #2F9353
square
#2F3D93 #932F6F #93852F #2F9353
split-complementary
#2F3D93 #93532F #6F932F
monochromatic
#111736 #202A65 #2F3D93 #3E50C1 #6C7AD0
Accessibility & contrast
On white
9.50
#2F3D93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#2F3D93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3D93
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3D93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3D93 | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A96
Deuteranopia (green-blind)
#004191
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2f3d93; /* rgb */ color: rgb(47, 61, 147); /* oklch */ color: oklch(40.2% 0.142 271.5);
Tailwind
colors: {
custom: {
50: '#7472b3',
500: '#2f3d93',
950: '#000000',
},
}SCSS
$custom: #2f3d93; $custom-light: #7472b3; $custom-dark: #000000;
JSON
{
"hex": "#2f3d93",
"rgb": {
"r": 47,
"g": 61,
"b": 147
},
"hsl": {
"h": 231.6,
"s": 51.546,
"l": 38.039
},
"oklch": {
"l": 0.40175,
"c": 0.14164,
"h": 271.5
},
"luminance": 0.06048
}Semantic roles & 50–950 ramp
primary
#2F3D93
secondary
#B7AC66
accent
#C74DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80