#2F3893#2F3893
#2F3893 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.148 H 273.1°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3893 |
|---|---|
| RGB | rgb(47, 56, 147) |
| HSL | hsl(235, 52%, 38%) |
| HSV | hsv(235, 68%, 58%) |
| CMYK | cmyk(68%, 61.9%, 0%, 42.4%) |
| CIE-LAB | lab(28.22, 27.16, -51.33) |
| CIE-LCH | lch(28.22, 58.07, 297.89°) |
| OKLab | oklab(39.2% 0.0081 -0.1479) |
| OKLCH | oklch(39.2% 0.148 273.1) |
| XYZ | xyz(7.8512, 5.5386, 28.2534) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.62
Blueberry
#464196
ΔE00 4.03
Darkslateblue
#483D8B
ΔE00 4.74
Cobalt
#0047AB
ΔE00 7.05
Ocean Blue
#4F42B5
ΔE00 7.08
Cobalt (survey)
#1E488F
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3893 #938A2F
analogous
#2F6A93 #2F3893 #582F93
triadic
#2F3893 #932F38 #38932F
tetradic
#2F3893 #932F6A #938A2F #2F9358
square
#2F3893 #932F6A #938A2F #2F9358
split-complementary
#2F3893 #93582F #6A932F
monochromatic
#111536 #202665 #2F3893 #3E4AC1 #6C75D0
Accessibility & contrast
On white
9.96
#2F3893 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#2F3893 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3893
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3893 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3893 | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#003E91
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2f3893; /* rgb */ color: rgb(47, 56, 147); /* oklch */ color: oklch(39.2% 0.148 273.1);
Tailwind
colors: {
custom: {
50: '#746eb3',
500: '#2f3893',
950: '#000000',
},
}SCSS
$custom: #2f3893; $custom-light: #746eb3; $custom-dark: #000000;
JSON
{
"hex": "#2f3893",
"rgb": {
"r": 47,
"g": 56,
"b": 147
},
"hsl": {
"h": 234.6,
"s": 51.546,
"l": 38.039
},
"oklch": {
"l": 0.39199,
"c": 0.14815,
"h": 273.1
},
"luminance": 0.05539
}Semantic roles & 50–950 ramp
primary
#2F3893
secondary
#B7B066
accent
#CE4DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80