#2F3185#2F3185
#2F3185 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.138 H 276.2°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3185 |
|---|---|
| RGB | rgb(47, 49, 133) |
| HSL | hsl(239, 48%, 35%) |
| HSV | hsv(239, 65%, 52%) |
| CMYK | cmyk(64.7%, 63.2%, 0%, 47.8%) |
| CIE-LAB | lab(25.24, 26.74, -47.50) |
| CIE-LCH | lch(25.24, 54.51, 299.37°) |
| OKLab | oklab(36.64% 0.0148 -0.1368) |
| OKLCH | oklch(36.64% 0.138 276.2) |
| XYZ | xyz(6.5029, 4.4939, 22.7105) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.93
Blueberry
#464196
ΔE00 5.53
Sapphire (survey)
#2138AB
ΔE00 5.96
Midnight Blue
#191970
ΔE00 6.89
Royal
#0C1793
ΔE00 7.39
Marine
#042E60
ΔE00 8.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3185 #85832F
analogous
#2F5C85 #2F3185 #582F85
triadic
#2F3185 #852F31 #31852F
tetradic
#2F3185 #852F5C #85832F #2F8558
square
#2F3185 #852F5C #85832F #2F8558
split-complementary
#2F3185 #85582F #5C852F
monochromatic
#0F102B #1F2058 #2F3185 #3F42B2 #6668C9
Accessibility & contrast
On white
11.06
#2F3185 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2F3185 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3185
11.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3185 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3185 | 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)
#004088
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2f3185; /* rgb */ color: rgb(47, 49, 133); /* oklch */ color: oklch(36.6% 0.138 276.2);
Tailwind
colors: {
custom: {
50: '#7269a9',
500: '#2f3185',
950: '#000000',
},
}SCSS
$custom: #2f3185; $custom-light: #7269a9; $custom-dark: #000000;
JSON
{
"hex": "#2f3185",
"rgb": {
"r": 47,
"g": 49,
"b": 133
},
"hsl": {
"h": 238.605,
"s": 47.778,
"l": 35.294
},
"oklch": {
"l": 0.36637,
"c": 0.13756,
"h": 276.2
},
"luminance": 0.04494
}Semantic roles & 50–950 ramp
primary
#2F3185
secondary
#B0AE60
accent
#D450D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F