#2F3294#2F3294
#2F3294 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.157 H 274.7°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3294 |
|---|---|
| RGB | rgb(47, 50, 148) |
| HSL | hsl(238, 52%, 38%) |
| HSV | hsv(238, 68%, 58%) |
| CMYK | cmyk(68.2%, 66.2%, 0%, 42%) |
| CIE-LAB | lab(26.80, 31.46, -54.26) |
| CIE-LCH | lch(26.80, 62.72, 300.10°) |
| OKLab | oklab(38.19% 0.013 -0.1566) |
| OKLCH | oklch(38.19% 0.157 274.7) |
| XYZ | xyz(7.6564, 5.0230, 28.5773) |
| Luminance | 0.0502 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.84
Blueberry
#464196
ΔE00 5.04
Darkslateblue
#483D8B
ΔE00 5.28
Royal
#0C1793
ΔE00 6.82
Ocean Blue
#4F42B5
ΔE00 7.38
Indigo Blue
#3A18B1
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3294 #94912F
analogous
#2F6494 #2F3294 #5E2F94
triadic
#2F3294 #942F32 #32942F
tetradic
#2F3294 #942F64 #94912F #2F945E
square
#2F3294 #942F64 #94912F #2F945E
split-complementary
#2F3294 #945E2F #64942F
monochromatic
#111337 #202266 #2F3294 #3E42C2 #6D70D1
Accessibility & contrast
On white
10.47
#2F3294 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2F3294 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3294
10.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3294 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3294 | 1.00 | 10.47 | 2.00 | 10.47 |
| #FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f3294; /* rgb */ color: rgb(47, 50, 148); /* oklch */ color: oklch(38.2% 0.157 274.7);
Tailwind
colors: {
custom: {
50: '#756ab4',
500: '#2f3294',
950: '#000000',
},
}SCSS
$custom: #2f3294; $custom-light: #756ab4; $custom-dark: #000000;
JSON
{
"hex": "#2f3294",
"rgb": {
"r": 47,
"g": 50,
"b": 148
},
"hsl": {
"h": 238.218,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.38185,
"c": 0.1571,
"h": 274.7
},
"luminance": 0.05024
}Semantic roles & 50–950 ramp
primary
#2F3294
secondary
#B8B567
accent
#D74DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80