#2F3E88#2F3E88
#2F3E88 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.124 H 271.0°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3E88 |
|---|---|
| RGB | rgb(47, 62, 136) |
| HSL | hsl(230, 49%, 36%) |
| HSV | hsv(230, 65%, 53%) |
| CMYK | cmyk(65.4%, 54.4%, 0%, 46.7%) |
| CIE-LAB | lab(28.97, 19.06, -43.32) |
| CIE-LCH | lch(28.97, 47.33, 293.75°) |
| OKLab | oklab(39.49% 0.0022 -0.1243) |
| OKLCH | oklch(39.49% 0.124 271) |
| XYZ | xyz(7.3374, 5.8265, 24.0257) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.56
Cobalt (survey)
#1E488F
ΔE00 5.08
Darkslateblue
#483D8B
ΔE00 5.14
Sapphire (survey)
#2138AB
ΔE00 5.92
Darkish Blue
#014182
ΔE00 6.00
Cobalt
#0047AB
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3E88 #88792F
analogous
#2F6A88 #2F3E88 #4C2F88
triadic
#2F3E88 #882F3E #3E882F
tetradic
#2F3E88 #882F6A #88792F #2F884C
square
#2F3E88 #882F6A #88792F #2F884C
split-complementary
#2F3E88 #884C2F #6A882F
monochromatic
#10152D #1F295B #2F3E88 #3F53B5 #6778CA
Accessibility & contrast
On white
9.70
#2F3E88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2F3E88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3E88
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3E88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3E88 | 1.00 | 9.70 | 2.17 | 9.70 |
| #FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F488B
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2f3e88; /* rgb */ color: rgb(47, 62, 136); /* oklch */ color: oklch(39.5% 0.124 271.0);
Tailwind
colors: {
custom: {
50: '#7273ab',
500: '#2f3e88',
950: '#000000',
},
}SCSS
$custom: #2f3e88; $custom-light: #7273ab; $custom-dark: #000000;
JSON
{
"hex": "#2f3e88",
"rgb": {
"r": 47,
"g": 62,
"b": 136
},
"hsl": {
"h": 229.888,
"s": 48.634,
"l": 35.882
},
"oklch": {
"l": 0.39489,
"c": 0.12434,
"h": 271
},
"luminance": 0.05827
}Semantic roles & 50–950 ramp
primary
#2F3E88
secondary
#B1A461
accent
#C150D8
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F