#2F3194#2F3194
#2F3194 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.158 H 275.0°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3194 |
|---|---|
| RGB | rgb(47, 49, 148) |
| HSL | hsl(239, 52%, 38%) |
| HSV | hsv(239, 68%, 58%) |
| CMYK | cmyk(68.2%, 66.9%, 0%, 42%) |
| CIE-LAB | lab(26.56, 32.10, -54.65) |
| CIE-LCH | lch(26.56, 63.38, 300.43°) |
| OKLab | oklab(38.01% 0.0137 -0.1577) |
| OKLCH | oklch(38.01% 0.158 275) |
| XYZ | xyz(7.6141, 4.9384, 28.5632) |
| Luminance | 0.0494 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.97
Blueberry
#464196
ΔE00 5.25
Darkslateblue
#483D8B
ΔE00 5.42
Royal
#0C1793
ΔE00 6.55
Indigo Blue
#3A18B1
ΔE00 7.14
Ocean Blue
#4F42B5
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3194 #94922F
analogous
#2F6394 #2F3194 #5F2F94
triadic
#2F3194 #942F31 #31942F
tetradic
#2F3194 #942F63 #94922F #2F945F
square
#2F3194 #942F63 #94922F #2F945F
split-complementary
#2F3194 #945F2F #63942F
monochromatic
#111237 #202266 #2F3194 #3E41C2 #6D6FD1
Accessibility & contrast
On white
10.56
#2F3194 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2F3194 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3194
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3194 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3194 | 1.00 | 10.56 | 1.99 | 10.56 |
| #FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f3194; /* rgb */ color: rgb(47, 49, 148); /* oklch */ color: oklch(38.0% 0.158 275.0);
Tailwind
colors: {
custom: {
50: '#7569b4',
500: '#2f3194',
950: '#000000',
},
}SCSS
$custom: #2f3194; $custom-light: #7569b4; $custom-dark: #000000;
JSON
{
"hex": "#2f3194",
"rgb": {
"r": 47,
"g": 49,
"b": 148
},
"hsl": {
"h": 238.812,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.38009,
"c": 0.15834,
"h": 275
},
"luminance": 0.04939
}Semantic roles & 50–950 ramp
primary
#2F3194
secondary
#B8B667
accent
#D84DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80