#2F3D8A#2F3D8A
#2F3D8A is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.129 H 271.5°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3D8A |
|---|---|
| RGB | rgb(47, 61, 138) |
| HSL | hsl(231, 49%, 36%) |
| HSV | hsv(231, 66%, 54%) |
| CMYK | cmyk(65.9%, 55.8%, 0%, 45.9%) |
| CIE-LAB | lab(28.84, 20.48, -44.77) |
| CIE-LCH | lch(28.84, 49.23, 294.58°) |
| OKLab | oklab(39.44% 0.0034 -0.1286) |
| OKLCH | oklch(39.44% 0.129 271.5) |
| XYZ | xyz(7.4269, 5.7762, 24.7633) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.30
Darkslateblue
#483D8B
ΔE00 4.92
Cobalt (survey)
#1E488F
ΔE00 5.40
Sapphire (survey)
#2138AB
ΔE00 5.46
Darkish Blue
#014182
ΔE00 6.32
Cobalt
#0047AB
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3D8A #8A7C2F
analogous
#2F6B8A #2F3D8A #4F2F8A
triadic
#2F3D8A #8A2F3D #3D8A2F
tetradic
#2F3D8A #8A2F6B #8A7C2F #2F8A4F
square
#2F3D8A #8A2F6B #8A7C2F #2F8A4F
split-complementary
#2F3D8A #8A4F2F #6B8A2F
monochromatic
#10152F #1F295C #2F3D8A #3F51B8 #6877CC
Accessibility & contrast
On white
9.74
#2F3D8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2F3D8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3D8A
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3D8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3D8A | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#05488D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2f3d8a; /* rgb */ color: rgb(47, 61, 138); /* oklch */ color: oklch(39.4% 0.129 271.5);
Tailwind
colors: {
custom: {
50: '#7272ad',
500: '#2f3d8a',
950: '#000000',
},
}SCSS
$custom: #2f3d8a; $custom-light: #7272ad; $custom-dark: #000000;
JSON
{
"hex": "#2f3d8a",
"rgb": {
"r": 47,
"g": 61,
"b": 138
},
"hsl": {
"h": 230.769,
"s": 49.189,
"l": 36.275
},
"oklch": {
"l": 0.39439,
"c": 0.12863,
"h": 271.5
},
"luminance": 0.05777
}Semantic roles & 50–950 ramp
primary
#2F3D8A
secondary
#B3A662
accent
#C44FD9
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F