#2F3393#2F3393
#2F3393 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.155 H 274.5°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3393 |
|---|---|
| RGB | rgb(47, 51, 147) |
| HSL | hsl(238, 52%, 38%) |
| HSV | hsv(238, 68%, 58%) |
| CMYK | cmyk(68%, 65.3%, 0%, 42.4%) |
| CIE-LAB | lab(26.96, 30.45, -53.39) |
| CIE-LCH | lch(26.96, 61.46, 299.70°) |
| OKLab | oklab(38.27% 0.0122 -0.154) |
| OKLCH | oklch(38.27% 0.155 274.5) |
| XYZ | xyz(7.6208, 5.0779, 28.1766) |
| Luminance | 0.0508 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.84
Blueberry
#464196
ΔE00 4.83
Darkslateblue
#483D8B
ΔE00 5.10
Royal
#0C1793
ΔE00 7.13
Ocean Blue
#4F42B5
ΔE00 7.38
Indigo Blue
#3A18B1
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3393 #938F2F
analogous
#2F6593 #2F3393 #5D2F93
triadic
#2F3393 #932F33 #33932F
tetradic
#2F3393 #932F65 #938F2F #2F935D
square
#2F3393 #932F65 #938F2F #2F935D
split-complementary
#2F3393 #935D2F #65932F
monochromatic
#111336 #202365 #2F3393 #3E43C1 #6C70D0
Accessibility & contrast
On white
10.42
#2F3393 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2F3393 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3393
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3393 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3393 | 1.00 | 10.42 | 2.02 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#003B91
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f3393; /* rgb */ color: rgb(47, 51, 147); /* oklch */ color: oklch(38.3% 0.155 274.5);
Tailwind
colors: {
custom: {
50: '#756bb4',
500: '#2f3393',
950: '#000000',
},
}SCSS
$custom: #2f3393; $custom-light: #756bb4; $custom-dark: #000000;
JSON
{
"hex": "#2f3393",
"rgb": {
"r": 47,
"g": 51,
"b": 147
},
"hsl": {
"h": 237.6,
"s": 51.546,
"l": 38.039
},
"oklch": {
"l": 0.38271,
"c": 0.15451,
"h": 274.5
},
"luminance": 0.05079
}Semantic roles & 50–950 ramp
primary
#2F3393
secondary
#B7B466
accent
#D54DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80