#2F3D88#2F3D88
#2F3D88 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.126 H 271.5°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3D88 |
|---|---|
| RGB | rgb(47, 61, 136) |
| HSL | hsl(231, 49%, 36%) |
| HSV | hsv(231, 65%, 53%) |
| CMYK | cmyk(65.4%, 55.1%, 0%, 46.7%) |
| CIE-LAB | lab(28.69, 19.74, -43.77) |
| CIE-LCH | lch(28.69, 48.02, 294.27°) |
| OKLab | oklab(39.28% 0.0032 -0.1257) |
| OKLCH | oklch(39.28% 0.126 271.5) |
| XYZ | xyz(7.2835, 5.7188, 24.0078) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.47
Darkslateblue
#483D8B
ΔE00 4.97
Cobalt (survey)
#1E488F
ΔE00 5.40
Sapphire (survey)
#2138AB
ΔE00 5.78
Darkish Blue
#014182
ΔE00 6.24
Cobalt
#0047AB
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3D88 #887A2F
analogous
#2F6988 #2F3D88 #4D2F88
triadic
#2F3D88 #882F3D #3D882F
tetradic
#2F3D88 #882F69 #887A2F #2F884D
square
#2F3D88 #882F69 #887A2F #2F884D
split-complementary
#2F3D88 #884D2F #69882F
monochromatic
#10142D #1F295B #2F3D88 #3F51B5 #6777CA
Accessibility & contrast
On white
9.80
#2F3D88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2F3D88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3D88
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3D88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3D88 | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A488B
Deuteranopia (green-blind)
#004086
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2f3d88; /* rgb */ color: rgb(47, 61, 136); /* oklch */ color: oklch(39.3% 0.126 271.5);
Tailwind
colors: {
custom: {
50: '#7272ab',
500: '#2f3d88',
950: '#000000',
},
}SCSS
$custom: #2f3d88; $custom-light: #7272ab; $custom-dark: #000000;
JSON
{
"hex": "#2f3d88",
"rgb": {
"r": 47,
"g": 61,
"b": 136
},
"hsl": {
"h": 230.562,
"s": 48.634,
"l": 35.882
},
"oklch": {
"l": 0.39279,
"c": 0.1257,
"h": 271.5
},
"luminance": 0.05719
}Semantic roles & 50–950 ramp
primary
#2F3D88
secondary
#B1A561
accent
#C350D8
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F