#2F3494#2F3494
#2F3494 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.155 H 274.2°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3494 |
|---|---|
| RGB | rgb(47, 52, 148) |
| HSL | hsl(237, 52%, 38%) |
| HSV | hsv(237, 68%, 58%) |
| CMYK | cmyk(68.2%, 64.9%, 0%, 42%) |
| CIE-LAB | lab(27.29, 30.16, -53.46) |
| CIE-LCH | lch(27.29, 61.38, 299.43°) |
| OKLab | oklab(38.54% 0.0114 -0.1542) |
| OKLCH | oklch(38.54% 0.155 274.2) |
| XYZ | xyz(7.7438, 5.1977, 28.6064) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.62
Blueberry
#464196
ΔE00 4.65
Darkslateblue
#483D8B
ΔE00 5.04
Ocean Blue
#4F42B5
ΔE00 7.19
Royal
#0C1793
ΔE00 7.39
Blue Blue
#2242C7
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3494 #948F2F
analogous
#2F6694 #2F3494 #5C2F94
triadic
#2F3494 #942F34 #34942F
tetradic
#2F3494 #942F66 #948F2F #2F945C
square
#2F3494 #942F66 #948F2F #2F945C
split-complementary
#2F3494 #945C2F #66942F
monochromatic
#111337 #202466 #2F3494 #3E45C2 #6D72D1
Accessibility & contrast
On white
10.30
#2F3494 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2F3494 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3494
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3494 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3494 | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f3494; /* rgb */ color: rgb(47, 52, 148); /* oklch */ color: oklch(38.5% 0.155 274.2);
Tailwind
colors: {
custom: {
50: '#756bb4',
500: '#2f3494',
950: '#000000',
},
}SCSS
$custom: #2f3494; $custom-light: #756bb4; $custom-dark: #000000;
JSON
{
"hex": "#2f3494",
"rgb": {
"r": 47,
"g": 52,
"b": 148
},
"hsl": {
"h": 237.03,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.38544,
"c": 0.15463,
"h": 274.2
},
"luminance": 0.05198
}Semantic roles & 50–950 ramp
primary
#2F3494
secondary
#B8B467
accent
#D44DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80