#2F3692#2F3692
#2F3692 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.149 H 273.8°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3692 |
|---|---|
| RGB | rgb(47, 54, 146) |
| HSL | hsl(236, 51%, 38%) |
| HSV | hsv(236, 68%, 57%) |
| CMYK | cmyk(67.8%, 63%, 0%, 42.7%) |
| CIE-LAB | lab(27.62, 28.12, -51.69) |
| CIE-LCH | lch(27.62, 58.84, 298.55°) |
| OKLab | oklab(38.73% 0.0098 -0.149) |
| OKLCH | oklch(38.73% 0.149 273.8) |
| XYZ | xyz(7.6780, 5.3173, 27.8103) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.78
Blueberry
#464196
ΔE00 4.30
Darkslateblue
#483D8B
ΔE00 4.77
Ocean Blue
#4F42B5
ΔE00 7.27
Cobalt
#0047AB
ΔE00 7.61
Cobalt (survey)
#1E488F
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3692 #928B2F
analogous
#2F6792 #2F3692 #5A2F92
triadic
#2F3692 #922F36 #36922F
tetradic
#2F3692 #922F67 #928B2F #2F925A
square
#2F3692 #922F67 #928B2F #2F925A
split-complementary
#2F3692 #925A2F #67922F
monochromatic
#111435 #202564 #2F3692 #3E47C0 #6C73D0
Accessibility & contrast
On white
10.18
#2F3692 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2F3692 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3692
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3692 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3692 | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#003D90
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f3692; /* rgb */ color: rgb(47, 54, 146); /* oklch */ color: oklch(38.7% 0.149 273.8);
Tailwind
colors: {
custom: {
50: '#746db3',
500: '#2f3692',
950: '#000000',
},
}SCSS
$custom: #2f3692; $custom-light: #746db3; $custom-dark: #000000;
JSON
{
"hex": "#2f3692",
"rgb": {
"r": 47,
"g": 54,
"b": 146
},
"hsl": {
"h": 235.758,
"s": 51.295,
"l": 37.843
},
"oklch": {
"l": 0.38732,
"c": 0.14933,
"h": 273.8
},
"luminance": 0.05318
}Semantic roles & 50–950 ramp
primary
#2F3692
secondary
#B7B166
accent
#D14DDB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80