#2F3A88#2F3A88
#2F3A88 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.130 H 272.7°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3A88 |
|---|---|
| RGB | rgb(47, 58, 136) |
| HSL | hsl(233, 49%, 36%) |
| HSV | hsv(233, 65%, 53%) |
| CMYK | cmyk(65.4%, 57.4%, 0%, 46.7%) |
| CIE-LAB | lab(27.87, 21.78, -45.11) |
| CIE-LCH | lch(27.87, 50.09, 295.77°) |
| OKLab | oklab(38.66% 0.0062 -0.1296) |
| OKLCH | oklch(38.66% 0.13 272.7) |
| XYZ | xyz(7.1278, 5.4074, 23.9559) |
| Luminance | 0.0541 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.37
Darkslateblue
#483D8B
ΔE00 4.61
Sapphire (survey)
#2138AB
ΔE00 5.47
Cobalt (survey)
#1E488F
ΔE00 6.35
Darkish Blue
#014182
ΔE00 6.98
Cobalt
#0047AB
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3A88 #887D2F
analogous
#2F6688 #2F3A88 #502F88
triadic
#2F3A88 #882F3A #3A882F
tetradic
#2F3A88 #882F66 #887D2F #2F8850
square
#2F3A88 #882F66 #887D2F #2F8850
split-complementary
#2F3A88 #88502F #66882F
monochromatic
#10132D #1F275B #2F3A88 #3F4DB5 #6773CA
Accessibility & contrast
On white
10.09
#2F3A88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#2F3A88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3A88
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3A88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3A88 | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#003E86
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2f3a88; /* rgb */ color: rgb(47, 58, 136); /* oklch */ color: oklch(38.7% 0.130 272.7);
Tailwind
colors: {
custom: {
50: '#7270ab',
500: '#2f3a88',
950: '#000000',
},
}SCSS
$custom: #2f3a88; $custom-light: #7270ab; $custom-dark: #000000;
JSON
{
"hex": "#2f3a88",
"rgb": {
"r": 47,
"g": 58,
"b": 136
},
"hsl": {
"h": 232.584,
"s": 48.634,
"l": 35.882
},
"oklch": {
"l": 0.3866,
"c": 0.12978,
"h": 272.7
},
"luminance": 0.05408
}Semantic roles & 50–950 ramp
primary
#2F3A88
secondary
#B1A861
accent
#C750D8
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F