#2F3794#2F3794
#2F3794 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.151 H 273.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3794 |
|---|---|
| RGB | rgb(47, 55, 148) |
| HSL | hsl(235, 52%, 38%) |
| HSV | hsv(235, 68%, 58%) |
| CMYK | cmyk(68.2%, 62.8%, 0%, 42%) |
| CIE-LAB | lab(28.04, 28.19, -52.22) |
| CIE-LCH | lch(28.04, 59.35, 298.36°) |
| OKLab | oklab(39.1% 0.0089 -0.1506) |
| OKLCH | oklch(39.1% 0.151 273.4) |
| XYZ | xyz(7.8820, 5.4741, 28.6525) |
| Luminance | 0.0548 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.47
Blueberry
#464196
ΔE00 4.16
Darkslateblue
#483D8B
ΔE00 4.82
Ocean Blue
#4F42B5
ΔE00 7.00
Cobalt
#0047AB
ΔE00 7.27
Blue Blue
#2242C7
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3794 #948C2F
analogous
#2F6994 #2F3794 #5A2F94
triadic
#2F3794 #942F37 #37942F
tetradic
#2F3794 #942F69 #948C2F #2F945A
square
#2F3794 #942F69 #948C2F #2F945A
split-complementary
#2F3794 #945A2F #69942F
monochromatic
#111437 #202666 #2F3794 #3E49C2 #6D75D1
Accessibility & contrast
On white
10.02
#2F3794 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#2F3794 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3794
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3794 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3794 | 1.00 | 10.02 | 2.10 | 10.02 |
| #FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2f3794; /* rgb */ color: rgb(47, 55, 148); /* oklch */ color: oklch(39.1% 0.151 273.4);
Tailwind
colors: {
custom: {
50: '#756eb4',
500: '#2f3794',
950: '#000000',
},
}SCSS
$custom: #2f3794; $custom-light: #756eb4; $custom-dark: #000000;
JSON
{
"hex": "#2f3794",
"rgb": {
"r": 47,
"g": 55,
"b": 148
},
"hsl": {
"h": 235.248,
"s": 51.795,
"l": 38.235
},
"oklch": {
"l": 0.39098,
"c": 0.15083,
"h": 273.4
},
"luminance": 0.05475
}Semantic roles & 50–950 ramp
primary
#2F3794
secondary
#B8B167
accent
#D04DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80