#2F3793#2F3793
#2F3793 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.149 H 273.4°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3793 |
|---|---|
| RGB | rgb(47, 55, 147) |
| HSL | hsl(235, 52%, 38%) |
| HSV | hsv(235, 68%, 58%) |
| CMYK | cmyk(68%, 62.6%, 0%, 42.4%) |
| CIE-LAB | lab(27.96, 27.83, -51.75) |
| CIE-LCH | lch(27.96, 58.76, 298.27°) |
| OKLab | oklab(39.01% 0.0089 -0.1492) |
| OKLCH | oklch(39.01% 0.149 273.4) |
| XYZ | xyz(7.8032, 5.4426, 28.2374) |
| Luminance | 0.0544 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.62
Blueberry
#464196
ΔE00 4.16
Darkslateblue
#483D8B
ΔE00 4.77
Ocean Blue
#4F42B5
ΔE00 7.11
Cobalt
#0047AB
ΔE00 7.31
Cobalt (survey)
#1E488F
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3793 #938B2F
analogous
#2F6993 #2F3793 #592F93
triadic
#2F3793 #932F37 #37932F
tetradic
#2F3793 #932F69 #938B2F #2F9359
square
#2F3793 #932F69 #938B2F #2F9359
split-complementary
#2F3793 #93592F #69932F
monochromatic
#111436 #202665 #2F3793 #3E48C1 #6C74D0
Accessibility & contrast
On white
10.05
#2F3793 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#2F3793 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3793
10.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3793 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3793 | 1.00 | 10.05 | 2.09 | 10.05 |
| #FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004796
Deuteranopia (green-blind)
#003E91
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2f3793; /* rgb */ color: rgb(47, 55, 147); /* oklch */ color: oklch(39.0% 0.149 273.4);
Tailwind
colors: {
custom: {
50: '#746eb3',
500: '#2f3793',
950: '#000000',
},
}SCSS
$custom: #2f3793; $custom-light: #746eb3; $custom-dark: #000000;
JSON
{
"hex": "#2f3793",
"rgb": {
"r": 47,
"g": 55,
"b": 147
},
"hsl": {
"h": 235.2,
"s": 51.546,
"l": 38.039
},
"oklch": {
"l": 0.39009,
"c": 0.14944,
"h": 273.4
},
"luminance": 0.05443
}Semantic roles & 50–950 ramp
primary
#2F3793
secondary
#B7B166
accent
#D04DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80