#2F3598#2F3598
#2F3598 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.1% C 0.159 H 273.7°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3598 |
|---|---|
| RGB | rgb(47, 53, 152) |
| HSL | hsl(237, 53%, 39%) |
| HSV | hsv(237, 69%, 60%) |
| CMYK | cmyk(69.1%, 65.1%, 0%, 40.4%) |
| CIE-LAB | lab(27.89, 30.95, -54.93) |
| CIE-LCH | lch(27.89, 63.04, 299.40°) |
| OKLab | oklab(39.09% 0.0103 -0.1585) |
| OKLCH | oklch(39.09% 0.159 273.7) |
| XYZ | xyz(8.1110, 5.4168, 30.3178) |
| Luminance | 0.0542 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.02
Blueberry
#464196
ΔE00 4.54
Darkslateblue
#483D8B
ΔE00 5.21
Ocean Blue
#4F42B5
ΔE00 6.71
Blue Blue
#2242C7
ΔE00 7.24
Royal
#0C1793
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3598 #98922F
analogous
#2F6A98 #2F3598 #5E2F98
triadic
#2F3598 #982F35 #35982F
tetradic
#2F3598 #982F6A #98922F #2F985E
square
#2F3598 #982F6A #98922F #2F985E
split-complementary
#2F3598 #985E2F #6A982F
monochromatic
#12143B #212569 #2F3598 #4048C4 #6F75D2
Accessibility & contrast
On white
10.08
#2F3598 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#2F3598 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3598
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3598 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3598 | 1.00 | 10.08 | 2.08 | 10.08 |
| #FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#003D96
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2f3598; /* rgb */ color: rgb(47, 53, 152); /* oklch */ color: oklch(39.1% 0.159 273.7);
Tailwind
colors: {
custom: {
50: '#766cb7',
500: '#2f3598',
950: '#000000',
},
}SCSS
$custom: #2f3598; $custom-light: #766cb7; $custom-dark: #000000;
JSON
{
"hex": "#2f3598",
"rgb": {
"r": 47,
"g": 53,
"b": 152
},
"hsl": {
"h": 236.571,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.39092,
"c": 0.15884,
"h": 273.7
},
"luminance": 0.05418
}Semantic roles & 50–950 ramp
primary
#2F3598
secondary
#BAB569
accent
#D44CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80