#2F3395#2F3395
#2F3395 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.157 H 274.4°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3395 |
|---|---|
| RGB | rgb(47, 51, 149) |
| HSL | hsl(238, 52%, 38%) |
| HSV | hsv(238, 68%, 58%) |
| CMYK | cmyk(68.5%, 65.8%, 0%, 41.6%) |
| CIE-LAB | lab(27.13, 31.17, -54.33) |
| CIE-LCH | lch(27.13, 62.63, 299.84°) |
| OKLab | oklab(38.46% 0.0121 -0.1568) |
| OKLCH | oklch(38.46% 0.157 274.4) |
| XYZ | xyz(7.7791, 5.1412, 29.0103) |
| Luminance | 0.0514 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.60
Blueberry
#464196
ΔE00 4.85
Darkslateblue
#483D8B
ΔE00 5.21
Royal
#0C1793
ΔE00 7.08
Ocean Blue
#4F42B5
ΔE00 7.18
Indigo Blue
#3A18B1
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3395 #95912F
analogous
#2F6695 #2F3395 #5E2F95
triadic
#2F3395 #952F33 #33952F
tetradic
#2F3395 #952F66 #95912F #2F955E
square
#2F3395 #952F66 #95912F #2F955E
split-complementary
#2F3395 #955E2F #66952F
monochromatic
#121338 #202366 #2F3395 #3F44C2 #6D71D1
Accessibility & contrast
On white
10.35
#2F3395 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2F3395 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3395
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3395 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3395 | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f3395; /* rgb */ color: rgb(47, 51, 149); /* oklch */ color: oklch(38.5% 0.157 274.4);
Tailwind
colors: {
custom: {
50: '#756bb5',
500: '#2f3395',
950: '#000000',
},
}SCSS
$custom: #2f3395; $custom-light: #756bb5; $custom-dark: #000000;
JSON
{
"hex": "#2f3395",
"rgb": {
"r": 47,
"g": 51,
"b": 149
},
"hsl": {
"h": 237.647,
"s": 52.041,
"l": 38.431
},
"oklch": {
"l": 0.38456,
"c": 0.15723,
"h": 274.4
},
"luminance": 0.05142
}Semantic roles & 50–950 ramp
primary
#2F3395
secondary
#B8B567
accent
#D64CDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80