#2F3783#2F3783
#2F3783 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.127 H 274.1°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3783 |
|---|---|
| RGB | rgb(47, 55, 131) |
| HSL | hsl(234, 47%, 35%) |
| HSV | hsv(234, 64%, 51%) |
| CMYK | cmyk(64.1%, 58%, 0%, 48.6%) |
| CIE-LAB | lab(26.66, 21.97, -43.94) |
| CIE-LCH | lch(26.66, 49.13, 296.56°) |
| OKLab | oklab(37.64% 0.009 -0.1262) |
| OKLCH | oklch(37.64% 0.127 274.1) |
| XYZ | xyz(6.6339, 4.9749, 22.0790) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.60
Blueberry
#464196
ΔE00 4.91
Sapphire (survey)
#2138AB
ΔE00 6.15
Cobalt (survey)
#1E488F
ΔE00 7.33
Darkish Blue
#014182
ΔE00 7.64
Marine
#042E60
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3783 #837B2F
analogous
#2F6183 #2F3783 #512F83
triadic
#2F3783 #832F37 #37832F
tetradic
#2F3783 #832F61 #837B2F #2F8351
square
#2F3783 #832F61 #837B2F #2F8351
split-complementary
#2F3783 #83512F #61832F
monochromatic
#0F1129 #1F2456 #2F3783 #3F4AB0 #656EC8
Accessibility & contrast
On white
10.53
#2F3783 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2F3783 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3783
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3783 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3783 | 1.00 | 10.53 | 2.00 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f3783; /* rgb */ color: rgb(47, 55, 131); /* oklch */ color: oklch(37.6% 0.127 274.1);
Tailwind
colors: {
custom: {
50: '#716da8',
500: '#2f3783',
950: '#000000',
},
}SCSS
$custom: #2f3783; $custom-light: #716da8; $custom-dark: #000000;
JSON
{
"hex": "#2f3783",
"rgb": {
"r": 47,
"g": 55,
"b": 131
},
"hsl": {
"h": 234.286,
"s": 47.191,
"l": 34.902
},
"oklch": {
"l": 0.3764,
"c": 0.12655,
"h": 274.1
},
"luminance": 0.04975
}Semantic roles & 50–950 ramp
primary
#2F3783
secondary
#AFA75F
accent
#CA51D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F