#2F3898#2F3898
#2F3898 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.155 H 272.9°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3898 |
|---|---|
| RGB | rgb(47, 56, 152) |
| HSL | hsl(235, 53%, 39%) |
| HSV | hsv(235, 69%, 60%) |
| CMYK | cmyk(69.1%, 63.2%, 0%, 40.4%) |
| CIE-LAB | lab(28.64, 28.99, -53.70) |
| CIE-LCH | lch(28.64, 61.03, 298.36°) |
| OKLab | oklab(39.64% 0.0079 -0.1549) |
| OKLCH | oklch(39.64% 0.155 272.9) |
| XYZ | xyz(8.2521, 5.6989, 30.3648) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.90
Blueberry
#464196
ΔE00 4.08
Darkslateblue
#483D8B
ΔE00 5.02
Ocean Blue
#4F42B5
ΔE00 6.52
Cobalt
#0047AB
ΔE00 6.86
Blue Blue
#2242C7
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3898 #988F2F
analogous
#2F6D98 #2F3898 #5B2F98
triadic
#2F3898 #982F38 #38982F
tetradic
#2F3898 #982F6D #988F2F #2F985B
square
#2F3898 #982F6D #988F2F #2F985B
split-complementary
#2F3898 #985B2F #6D982F
monochromatic
#12163B #212769 #2F3898 #404BC4 #6F77D2
Accessibility & contrast
On white
9.81
#2F3898 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2F3898 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3898
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3898 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3898 | 1.00 | 9.81 | 2.14 | 9.81 |
| #FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489B
Deuteranopia (green-blind)
#003F96
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2f3898; /* rgb */ color: rgb(47, 56, 152); /* oklch */ color: oklch(39.6% 0.155 272.9);
Tailwind
colors: {
custom: {
50: '#756eb7',
500: '#2f3898',
950: '#000000',
},
}SCSS
$custom: #2f3898; $custom-light: #756eb7; $custom-dark: #000000;
JSON
{
"hex": "#2f3898",
"rgb": {
"r": 47,
"g": 56,
"b": 152
},
"hsl": {
"h": 234.857,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.39642,
"c": 0.1551,
"h": 272.9
},
"luminance": 0.057
}Semantic roles & 50–950 ramp
primary
#2F3898
secondary
#BAB369
accent
#D04CDC
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80