#2F3186#2F3186
#2F3186 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.139 H 276.1°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3186 |
|---|---|
| RGB | rgb(47, 49, 134) |
| HSL | hsl(239, 48%, 35%) |
| HSV | hsv(239, 65%, 53%) |
| CMYK | cmyk(64.9%, 63.4%, 0%, 47.5%) |
| CIE-LAB | lab(25.33, 27.09, -47.99) |
| CIE-LCH | lch(25.33, 55.11, 299.45°) |
| OKLab | oklab(36.73% 0.0148 -0.1382) |
| OKLCH | oklch(36.73% 0.139 276.1) |
| XYZ | xyz(6.5723, 4.5217, 23.0761) |
| Luminance | 0.0452 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.94
Blueberry
#464196
ΔE00 5.48
Sapphire (survey)
#2138AB
ΔE00 5.81
Midnight Blue
#191970
ΔE00 6.93
Royal
#0C1793
ΔE00 7.31
Marine
#042E60
ΔE00 8.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3186 #86842F
analogous
#2F5C86 #2F3186 #582F86
triadic
#2F3186 #862F31 #31862F
tetradic
#2F3186 #862F5C #86842F #2F8658
square
#2F3186 #862F5C #86842F #2F8658
split-complementary
#2F3186 #86582F #5C862F
monochromatic
#0F102B #1F2059 #2F3186 #3F42B3 #6668C9
Accessibility & contrast
On white
11.03
#2F3186 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2F3186 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3186
11.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3186 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3186 | 1.00 | 11.03 | 1.90 | 11.03 |
| #FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003884
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2f3186; /* rgb */ color: rgb(47, 49, 134); /* oklch */ color: oklch(36.7% 0.139 276.1);
Tailwind
colors: {
custom: {
50: '#7269aa',
500: '#2f3186',
950: '#000000',
},
}SCSS
$custom: #2f3186; $custom-light: #7269aa; $custom-dark: #000000;
JSON
{
"hex": "#2f3186",
"rgb": {
"r": 47,
"g": 49,
"b": 134
},
"hsl": {
"h": 238.621,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.36726,
"c": 0.13898,
"h": 276.1
},
"luminance": 0.04522
}Semantic roles & 50–950 ramp
primary
#2F3186
secondary
#B0AE60
accent
#D550D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F