#2F3B94#2F3B94
#2F3B94 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.146 H 272.2°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3B94 |
|---|---|
| RGB | rgb(47, 59, 148) |
| HSL | hsl(233, 52%, 38%) |
| HSV | hsv(233, 68%, 58%) |
| CMYK | cmyk(68.2%, 60.1%, 0%, 42%) |
| CIE-LAB | lab(29.08, 25.53, -50.54) |
| CIE-LCH | lch(29.08, 56.62, 296.81°) |
| OKLab | oklab(39.86% 0.0055 -0.1456) |
| OKLCH | oklch(39.86% 0.146 272.2) |
| XYZ | xyz(8.0798, 5.8696, 28.7184) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.66
Blueberry
#464196
ΔE00 3.80
Darkslateblue
#483D8B
ΔE00 4.83
Cobalt
#0047AB
ΔE00 6.25
Cobalt (survey)
#1E488F
ΔE00 6.32
Ocean Blue
#4F42B5
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3B94 #94882F
analogous
#2F6D94 #2F3B94 #552F94
triadic
#2F3B94 #942F3B #3B942F
tetradic
#2F3B94 #942F6D #94882F #2F9455
square
#2F3B94 #942F6D #94882F #2F9455
split-complementary
#2F3B94 #94552F #6D942F
monochromatic
#111637 #202866 #2F3B94 #3E4EC2 #6D79D1
Accessibility & contrast
On white
9.66
#2F3B94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2F3B94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3B94
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3B94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3B94 | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f3b94; /* rgb */ color: rgb(47, 59, 148); /* oklch */ color: oklch(39.9% 0.146 272.2);
Tailwind
colors: {
custom: {
50: '#7470b4',
500: '#2f3b94',
950: '#000000',
},
}SCSS
$custom: #2f3b94; $custom-light: #7470b4; $custom-dark: #000000;
JSON
{
"hex": "#2f3b94",
"rgb": {
"r": 47,
"g": 59,
"b": 148
},
"hsl": {
"h": 232.871,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.39864,
"c": 0.14567,
"h": 272.2
},
"luminance": 0.0587
}Semantic roles & 50–950 ramp
primary
#2F3B94
secondary
#B8AE67
accent
#CA4DDB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80