#2F3594#2F3594
#2F3594 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.153 H 273.9°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3594 |
|---|---|
| RGB | rgb(47, 53, 148) |
| HSL | hsl(236, 52%, 38%) |
| HSV | hsv(236, 68%, 58%) |
| CMYK | cmyk(68.2%, 64.2%, 0%, 42%) |
| CIE-LAB | lab(27.54, 29.51, -53.05) |
| CIE-LCH | lch(27.54, 60.70, 299.08°) |
| OKLab | oklab(38.73% 0.0106 -0.153) |
| OKLCH | oklch(38.73% 0.153 273.9) |
| XYZ | xyz(7.7889, 5.2880, 28.6214) |
| Luminance | 0.0529 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.54
Blueberry
#464196
ΔE00 4.47
Darkslateblue
#483D8B
ΔE00 4.95
Ocean Blue
#4F42B5
ΔE00 7.12
Royal
#0C1793
ΔE00 7.68
Blue Blue
#2242C7
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3594 #948E2F
analogous
#2F6794 #2F3594 #5B2F94
triadic
#2F3594 #942F35 #35942F
tetradic
#2F3594 #942F67 #948E2F #2F945B
square
#2F3594 #942F67 #948E2F #2F945B
split-complementary
#2F3594 #945B2F #67942F
monochromatic
#111437 #202466 #2F3594 #3E46C2 #6D73D1
Accessibility & contrast
On white
10.21
#2F3594 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2F3594 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3594
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3594 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3594 | 1.00 | 10.21 | 2.06 | 10.21 |
| #FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f3594; /* rgb */ color: rgb(47, 53, 148); /* oklch */ color: oklch(38.7% 0.153 273.9);
Tailwind
colors: {
custom: {
50: '#756cb4',
500: '#2f3594',
950: '#000000',
},
}SCSS
$custom: #2f3594; $custom-light: #756cb4; $custom-dark: #000000;
JSON
{
"hex": "#2f3594",
"rgb": {
"r": 47,
"g": 53,
"b": 148
},
"hsl": {
"h": 236.436,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.38726,
"c": 0.15337,
"h": 273.9
},
"luminance": 0.05289
}Semantic roles & 50–950 ramp
primary
#2F3594
secondary
#B8B367
accent
#D34DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80