#2F3287#2F3287
#2F3287 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.139 H 275.7°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3287 |
|---|---|
| RGB | rgb(47, 50, 135) |
| HSL | hsl(238, 48%, 36%) |
| HSV | hsv(238, 65%, 53%) |
| CMYK | cmyk(65.2%, 63%, 0%, 47.1%) |
| CIE-LAB | lab(25.67, 26.79, -48.06) |
| CIE-LCH | lch(25.67, 55.02, 299.14°) |
| OKLab | oklab(37% 0.0138 -0.1384) |
| OKLCH | oklch(37% 0.139 275.7) |
| XYZ | xyz(6.6846, 4.6343, 23.4592) |
| Luminance | 0.0464 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.82
Blueberry
#464196
ΔE00 5.26
Sapphire (survey)
#2138AB
ΔE00 5.59
Midnight Blue
#191970
ΔE00 7.22
Royal
#0C1793
ΔE00 7.51
Marine
#042E60
ΔE00 8.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3287 #87842F
analogous
#2F5E87 #2F3287 #582F87
triadic
#2F3287 #872F32 #32872F
tetradic
#2F3287 #872F5E #87842F #2F8758
square
#2F3287 #872F5E #87842F #2F8758
split-complementary
#2F3287 #87582F #5E872F
monochromatic
#0F102C #1F215A #2F3287 #3F43B4 #666ACA
Accessibility & contrast
On white
10.90
#2F3287 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2F3287 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3287
10.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3287 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3287 | 1.00 | 10.90 | 1.93 | 10.90 |
| #FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#003985
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2f3287; /* rgb */ color: rgb(47, 50, 135); /* oklch */ color: oklch(37.0% 0.139 275.7);
Tailwind
colors: {
custom: {
50: '#726aab',
500: '#2f3287',
950: '#000000',
},
}SCSS
$custom: #2f3287; $custom-light: #726aab; $custom-dark: #000000;
JSON
{
"hex": "#2f3287",
"rgb": {
"r": 47,
"g": 50,
"b": 135
},
"hsl": {
"h": 237.955,
"s": 48.352,
"l": 35.686
},
"oklch": {
"l": 0.37003,
"c": 0.13907,
"h": 275.7
},
"luminance": 0.04635
}Semantic roles & 50–950 ramp
primary
#2F3287
secondary
#B1AE61
accent
#D350D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F