#2F3282#2F3282
#2F3282 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.132 H 276.1°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3282 |
|---|---|
| RGB | rgb(47, 50, 130) |
| HSL | hsl(238, 47%, 35%) |
| HSV | hsv(238, 64%, 51%) |
| CMYK | cmyk(63.8%, 61.5%, 0%, 49%) |
| CIE-LAB | lab(25.25, 24.99, -45.61) |
| CIE-LCH | lch(25.25, 52.01, 298.71°) |
| OKLab | oklab(36.57% 0.014 -0.1312) |
| OKLCH | oklch(36.57% 0.132 276.1) |
| XYZ | xyz(6.3408, 4.4967, 21.6486) |
| Luminance | 0.0450 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.85
Blueberry
#464196
ΔE00 5.54
Sapphire (survey)
#2138AB
ΔE00 6.36
Midnight Blue
#191970
ΔE00 7.08
Royal
#0C1793
ΔE00 7.96
Marine
#042E60
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3282 #827F2F
analogous
#2F5C82 #2F3282 #552F82
triadic
#2F3282 #822F32 #32822F
tetradic
#2F3282 #822F5C #827F2F #2F8255
square
#2F3282 #822F5C #827F2F #2F8255
split-complementary
#2F3282 #82552F #5C822F
monochromatic
#0E0F28 #1F2155 #2F3282 #3F43AF #6468C7
Accessibility & contrast
On white
11.06
#2F3282 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2F3282 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3282
11.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3282 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3282 | 1.00 | 11.06 | 1.90 | 11.06 |
| #FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#003880
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2f3282; /* rgb */ color: rgb(47, 50, 130); /* oklch */ color: oklch(36.6% 0.132 276.1);
Tailwind
colors: {
custom: {
50: '#716aa7',
500: '#2f3282',
950: '#000000',
},
}SCSS
$custom: #2f3282; $custom-light: #716aa7; $custom-dark: #000000;
JSON
{
"hex": "#2f3282",
"rgb": {
"r": 47,
"g": 50,
"b": 130
},
"hsl": {
"h": 237.831,
"s": 46.893,
"l": 34.706
},
"oklch": {
"l": 0.36565,
"c": 0.13193,
"h": 276.1
},
"luminance": 0.04497
}Semantic roles & 50–950 ramp
primary
#2F3282
secondary
#AEAB5F
accent
#D251D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F