#2F3094#2F3094
#2F3094 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.160 H 275.2°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3094 |
|---|---|
| RGB | rgb(47, 48, 148) |
| HSL | hsl(239, 52%, 38%) |
| HSV | hsv(239, 68%, 58%) |
| CMYK | cmyk(68.2%, 67.6%, 0%, 42%) |
| CIE-LAB | lab(26.32, 32.74, -55.04) |
| CIE-LCH | lch(26.32, 64.04, 300.74°) |
| OKLab | oklab(37.84% 0.0145 -0.1589) |
| OKLCH | oklch(37.84% 0.16 275.2) |
| XYZ | xyz(7.5728, 4.8557, 28.5494) |
| Luminance | 0.0486 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.12
Blueberry
#464196
ΔE00 5.46
Darkslateblue
#483D8B
ΔE00 5.57
Royal
#0C1793
ΔE00 6.28
Indigo Blue
#3A18B1
ΔE00 6.90
Ocean Blue
#4F42B5
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3094 #94932F
analogous
#2F6294 #2F3094 #602F94
triadic
#2F3094 #942F30 #30942F
tetradic
#2F3094 #942F62 #94932F #2F9460
square
#2F3094 #942F62 #94932F #2F9460
split-complementary
#2F3094 #94602F #62942F
monochromatic
#111237 #202166 #2F3094 #3E40C2 #6D6ED1
Accessibility & contrast
On white
10.65
#2F3094 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2F3094 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3094
10.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3094 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3094 | 1.00 | 10.65 | 1.97 | 10.65 |
| #FFFFFF | 10.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2f3094; /* rgb */ color: rgb(47, 48, 148); /* oklch */ color: oklch(37.8% 0.160 275.2);
Tailwind
colors: {
custom: {
50: '#7569b4',
500: '#2f3094',
950: '#000000',
},
}SCSS
$custom: #2f3094; $custom-light: #7569b4; $custom-dark: #000000;
JSON
{
"hex": "#2f3094",
"rgb": {
"r": 47,
"g": 48,
"b": 148
},
"hsl": {
"h": 239.406,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.37835,
"c": 0.15955,
"h": 275.2
},
"luminance": 0.04856
}Semantic roles & 50–950 ramp
primary
#2F3094
secondary
#B8B767
accent
#DA4DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80