#2F3495#2F3495
#2F3495 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.156 H 274.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3495 |
|---|---|
| RGB | rgb(47, 52, 149) |
| HSL | hsl(237, 52%, 38%) |
| HSV | hsv(237, 68%, 58%) |
| CMYK | cmyk(68.5%, 65.1%, 0%, 41.6%) |
| CIE-LAB | lab(27.38, 30.52, -53.93) |
| CIE-LCH | lch(27.38, 61.96, 299.51°) |
| OKLab | oklab(38.64% 0.0113 -0.1556) |
| OKLCH | oklch(38.64% 0.156 274.2) |
| XYZ | xyz(7.8233, 5.2295, 29.0251) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.49
Blueberry
#464196
ΔE00 4.66
Darkslateblue
#483D8B
ΔE00 5.10
Ocean Blue
#4F42B5
ΔE00 7.09
Royal
#0C1793
ΔE00 7.36
Blue Blue
#2242C7
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3495 #95902F
analogous
#2F6795 #2F3495 #5D2F95
triadic
#2F3495 #952F34 #34952F
tetradic
#2F3495 #952F67 #95902F #2F955D
square
#2F3495 #952F67 #95902F #2F955D
split-complementary
#2F3495 #955D2F #67952F
monochromatic
#121438 #202466 #2F3495 #3F45C2 #6D72D1
Accessibility & contrast
On white
10.26
#2F3495 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2F3495 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3495
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3495 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3495 | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f3495; /* rgb */ color: rgb(47, 52, 149); /* oklch */ color: oklch(38.6% 0.156 274.2);
Tailwind
colors: {
custom: {
50: '#756bb5',
500: '#2f3495',
950: '#000000',
},
}SCSS
$custom: #2f3495; $custom-light: #756bb5; $custom-dark: #000000;
JSON
{
"hex": "#2f3495",
"rgb": {
"r": 47,
"g": 52,
"b": 149
},
"hsl": {
"h": 237.059,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.38636,
"c": 0.156,
"h": 274.2
},
"luminance": 0.0523
}Semantic roles & 50–950 ramp
primary
#2F3495
secondary
#B8B467
accent
#D44CDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80