#2F3188#2F3188
#2F3188 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.142 H 275.9°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3188 |
|---|---|
| RGB | rgb(47, 49, 136) |
| HSL | hsl(239, 49%, 36%) |
| HSV | hsv(239, 65%, 53%) |
| CMYK | cmyk(65.4%, 64%, 0%, 46.7%) |
| CIE-LAB | lab(25.50, 27.81, -48.96) |
| CIE-LCH | lch(25.50, 56.31, 299.60°) |
| OKLab | oklab(36.91% 0.0147 -0.141) |
| OKLCH | oklch(36.91% 0.142 275.9) |
| XYZ | xyz(6.7131, 4.5780, 23.8177) |
| Luminance | 0.0458 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.95
Blueberry
#464196
ΔE00 5.40
Sapphire (survey)
#2138AB
ΔE00 5.52
Midnight Blue
#191970
ΔE00 7.01
Royal
#0C1793
ΔE00 7.15
Indigo Blue
#3A18B1
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3188 #88862F
analogous
#2F5D88 #2F3188 #592F88
triadic
#2F3188 #882F31 #31882F
tetradic
#2F3188 #882F5D #88862F #2F8859
square
#2F3188 #882F5D #88862F #2F8859
split-complementary
#2F3188 #88592F #5D882F
monochromatic
#10102D #1F215B #2F3188 #3F41B5 #6769CA
Accessibility & contrast
On white
10.96
#2F3188 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2F3188 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3188
10.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3188 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3188 | 1.00 | 10.96 | 1.92 | 10.96 |
| #FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#003986
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2f3188; /* rgb */ color: rgb(47, 49, 136); /* oklch */ color: oklch(36.9% 0.142 275.9);
Tailwind
colors: {
custom: {
50: '#7369ab',
500: '#2f3188',
950: '#000000',
},
}SCSS
$custom: #2f3188; $custom-light: #7369ab; $custom-dark: #000000;
JSON
{
"hex": "#2f3188",
"rgb": {
"r": 47,
"g": 49,
"b": 136
},
"hsl": {
"h": 238.652,
"s": 48.634,
"l": 35.882
},
"oklch": {
"l": 0.36905,
"c": 0.14179,
"h": 275.9
},
"luminance": 0.04579
}Semantic roles & 50–950 ramp
primary
#2F3188
secondary
#B1B061
accent
#D550D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F