#2F3E86#2F3E86
#2F3E86 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.3% C 0.121 H 271.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3E86 |
|---|---|
| RGB | rgb(47, 62, 134) |
| HSL | hsl(230, 48%, 35%) |
| HSV | hsv(230, 65%, 53%) |
| CMYK | cmyk(64.9%, 53.7%, 0%, 47.5%) |
| CIE-LAB | lab(28.83, 18.31, -42.31) |
| CIE-LCH | lch(28.83, 46.11, 293.40°) |
| OKLab | oklab(39.33% 0.0021 -0.1214) |
| OKLCH | oklch(39.33% 0.121 271) |
| XYZ | xyz(7.1965, 5.7702, 23.2841) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.75
Cobalt (survey)
#1E488F
ΔE00 5.10
Darkslateblue
#483D8B
ΔE00 5.22
Darkish Blue
#014182
ΔE00 5.93
Sapphire (survey)
#2138AB
ΔE00 6.24
Cobalt
#0047AB
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3E86 #86772F
analogous
#2F6986 #2F3E86 #4B2F86
triadic
#2F3E86 #862F3E #3E862F
tetradic
#2F3E86 #862F69 #86772F #2F864B
square
#2F3E86 #862F69 #86772F #2F864B
split-complementary
#2F3E86 #864B2F #69862F
monochromatic
#0F142B #1F2959 #2F3E86 #3F53B3 #6677C9
Accessibility & contrast
On white
9.75
#2F3E86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2F3E86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3E86
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3E86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3E86 | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#124889
Deuteranopia (green-blind)
#004085
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2f3e86; /* rgb */ color: rgb(47, 62, 134); /* oklch */ color: oklch(39.3% 0.121 271.0);
Tailwind
colors: {
custom: {
50: '#7173aa',
500: '#2f3e86',
950: '#000000',
},
}SCSS
$custom: #2f3e86; $custom-light: #7173aa; $custom-dark: #000000;
JSON
{
"hex": "#2f3e86",
"rgb": {
"r": 47,
"g": 62,
"b": 134
},
"hsl": {
"h": 229.655,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.39333,
"c": 0.12138,
"h": 271
},
"luminance": 0.05771
}Semantic roles & 50–950 ramp
primary
#2F3E86
secondary
#B0A360
accent
#C050D8
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F