#2F3182#2F3182
#2F3182 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.133 H 276.4°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3182 |
|---|---|
| RGB | rgb(47, 49, 130) |
| HSL | hsl(239, 47%, 35%) |
| HSV | hsv(239, 64%, 51%) |
| CMYK | cmyk(63.8%, 62.3%, 0%, 49%) |
| CIE-LAB | lab(24.99, 25.66, -46.03) |
| CIE-LCH | lch(24.99, 52.70, 299.13°) |
| OKLab | oklab(36.37% 0.0149 -0.1324) |
| OKLCH | oklch(36.37% 0.133 276.4) |
| XYZ | xyz(6.2986, 4.4122, 21.6345) |
| Luminance | 0.0441 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.96
Blueberry
#464196
ΔE00 5.70
Sapphire (survey)
#2138AB
ΔE00 6.42
Midnight Blue
#191970
ΔE00 6.80
Royal
#0C1793
ΔE00 7.68
Marine
#042E60
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3182 #82802F
analogous
#2F5B82 #2F3182 #562F82
triadic
#2F3182 #822F31 #31822F
tetradic
#2F3182 #822F5B #82802F #2F8256
square
#2F3182 #822F5B #82802F #2F8256
split-complementary
#2F3182 #82562F #5B822F
monochromatic
#0E0F28 #1F2055 #2F3182 #3F42AF #6467C7
Accessibility & contrast
On white
11.15
#2F3182 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2F3182 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3182
11.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3182 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3182 | 1.00 | 11.15 | 1.88 | 11.15 |
| #FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#003880
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2f3182; /* rgb */ color: rgb(47, 49, 130); /* oklch */ color: oklch(36.4% 0.133 276.4);
Tailwind
colors: {
custom: {
50: '#7169a7',
500: '#2f3182',
950: '#000000',
},
}SCSS
$custom: #2f3182; $custom-light: #7169a7; $custom-dark: #000000;
JSON
{
"hex": "#2f3182",
"rgb": {
"r": 47,
"g": 49,
"b": 130
},
"hsl": {
"h": 238.554,
"s": 46.893,
"l": 34.706
},
"oklch": {
"l": 0.36373,
"c": 0.13328,
"h": 276.4
},
"luminance": 0.04413
}Semantic roles & 50–950 ramp
primary
#2F3182
secondary
#AEAC5F
accent
#D351D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F