#2F3498#2F3498
#2F3498 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.160 H 274.0°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3498 |
|---|---|
| RGB | rgb(47, 52, 152) |
| HSL | hsl(237, 53%, 39%) |
| HSV | hsv(237, 69%, 60%) |
| CMYK | cmyk(69.1%, 65.8%, 0%, 40.4%) |
| CIE-LAB | lab(27.65, 31.59, -55.33) |
| CIE-LCH | lch(27.65, 63.71, 299.73°) |
| OKLab | oklab(38.91% 0.0111 -0.1597) |
| OKLCH | oklch(38.91% 0.16 274) |
| XYZ | xyz(8.0659, 5.3266, 30.3027) |
| Luminance | 0.0533 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.12
Blueberry
#464196
ΔE00 4.72
Darkslateblue
#483D8B
ΔE00 5.30
Ocean Blue
#4F42B5
ΔE00 6.80
Royal
#0C1793
ΔE00 7.31
Blue Blue
#2242C7
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3498 #98932F
analogous
#2F6998 #2F3498 #5F2F98
triadic
#2F3498 #982F34 #34982F
tetradic
#2F3498 #982F69 #98932F #2F985F
square
#2F3498 #982F69 #98932F #2F985F
split-complementary
#2F3498 #985F2F #69982F
monochromatic
#12143B #212469 #2F3498 #4046C4 #6F74D2
Accessibility & contrast
On white
10.17
#2F3498 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2F3498 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3498
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3498 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3498 | 1.00 | 10.17 | 2.07 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#003D96
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f3498; /* rgb */ color: rgb(47, 52, 152); /* oklch */ color: oklch(38.9% 0.160 274.0);
Tailwind
colors: {
custom: {
50: '#766bb7',
500: '#2f3498',
950: '#000000',
},
}SCSS
$custom: #2f3498; $custom-light: #766bb7; $custom-dark: #000000;
JSON
{
"hex": "#2f3498",
"rgb": {
"r": 47,
"g": 52,
"b": 152
},
"hsl": {
"h": 237.143,
"s": 52.764,
"l": 39.02
},
"oklch": {
"l": 0.38913,
"c": 0.16008,
"h": 274
},
"luminance": 0.05327
}Semantic roles & 50–950 ramp
primary
#2F3498
secondary
#BAB669
accent
#D54CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80