#2F3F94#2F3F94
#2F3F94 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.140 H 270.8°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3F94 |
|---|---|
| RGB | rgb(47, 63, 148) |
| HSL | hsl(230, 52%, 38%) |
| HSV | hsv(230, 68%, 58%) |
| CMYK | cmyk(68.2%, 57.4%, 0%, 42%) |
| CIE-LAB | lab(30.15, 22.85, -48.80) |
| CIE-LCH | lch(30.15, 53.89, 295.09°) |
| OKLab | oklab(40.66% 0.0019 -0.1404) |
| OKLCH | oklch(40.66% 0.14 270.8) |
| XYZ | xyz(8.2933, 6.2967, 28.7896) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.90
Sapphire (survey)
#2138AB
ΔE00 4.27
Cobalt (survey)
#1E488F
ΔE00 5.08
Darkslateblue
#483D8B
ΔE00 5.24
Cobalt
#0047AB
ΔE00 5.32
Darkish Blue
#014182
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3F94 #94842F
analogous
#2F7194 #2F3F94 #512F94
triadic
#2F3F94 #942F3F #3F942F
tetradic
#2F3F94 #942F71 #94842F #2F9451
square
#2F3F94 #942F71 #94842F #2F9451
split-complementary
#2F3F94 #94512F #71942F
monochromatic
#111737 #202B66 #2F3F94 #3E53C2 #6D7DD1
Accessibility & contrast
On white
9.29
#2F3F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2F3F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3F94
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3F94 | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#004392
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2f3f94; /* rgb */ color: rgb(47, 63, 148); /* oklch */ color: oklch(40.7% 0.140 270.8);
Tailwind
colors: {
custom: {
50: '#7473b4',
500: '#2f3f94',
950: '#000000',
},
}SCSS
$custom: #2f3f94; $custom-light: #7473b4; $custom-dark: #000000;
JSON
{
"hex": "#2f3f94",
"rgb": {
"r": 47,
"g": 63,
"b": 148
},
"hsl": {
"h": 230.495,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.4066,
"c": 0.14043,
"h": 270.8
},
"luminance": 0.06297
}Semantic roles & 50–950 ramp
primary
#2F3F94
secondary
#B8AB67
accent
#C54DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80