#2F3D94#2F3D94
#2F3D94 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.3% C 0.143 H 271.5°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3D94 |
|---|---|
| RGB | rgb(47, 61, 148) |
| HSL | hsl(232, 52%, 38%) |
| HSV | hsv(232, 68%, 58%) |
| CMYK | cmyk(68.2%, 58.8%, 0%, 42%) |
| CIE-LAB | lab(29.61, 24.19, -49.67) |
| CIE-LCH | lch(29.61, 55.25, 295.97°) |
| OKLab | oklab(40.26% 0.0037 -0.143) |
| OKLCH | oklch(40.26% 0.143 271.5) |
| XYZ | xyz(8.1845, 6.0792, 28.7533) |
| Luminance | 0.0608 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.79
Sapphire (survey)
#2138AB
ΔE00 3.92
Darkslateblue
#483D8B
ΔE00 4.99
Cobalt (survey)
#1E488F
ΔE00 5.70
Cobalt
#0047AB
ΔE00 5.77
Darkish Blue
#014182
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3D94 #94862F
analogous
#2F6F94 #2F3D94 #532F94
triadic
#2F3D94 #942F3D #3D942F
tetradic
#2F3D94 #942F6F #94862F #2F9453
square
#2F3D94 #942F6F #94862F #2F9453
split-complementary
#2F3D94 #94532F #6F942F
monochromatic
#111737 #202A66 #2F3D94 #3E51C2 #6D7BD1
Accessibility & contrast
On white
9.48
#2F3D94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2F3D94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3D94
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3D94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3D94 | 1.00 | 9.48 | 2.22 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#004192
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2f3d94; /* rgb */ color: rgb(47, 61, 148); /* oklch */ color: oklch(40.3% 0.143 271.5);
Tailwind
colors: {
custom: {
50: '#7472b4',
500: '#2f3d94',
950: '#000000',
},
}SCSS
$custom: #2f3d94; $custom-light: #7472b4; $custom-dark: #000000;
JSON
{
"hex": "#2f3d94",
"rgb": {
"r": 47,
"g": 61,
"b": 148
},
"hsl": {
"h": 231.683,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.40259,
"c": 0.14306,
"h": 271.5
},
"luminance": 0.0608
}Semantic roles & 50–950 ramp
primary
#2F3D94
secondary
#B8AD67
accent
#C74DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80