#2F3790#2F3790
#2F3790 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.145 H 273.6°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3790 |
|---|---|
| RGB | rgb(47, 55, 144) |
| HSL | hsl(235, 51%, 37%) |
| HSV | hsv(235, 67%, 56%) |
| CMYK | cmyk(67.4%, 61.8%, 0%, 43.5%) |
| CIE-LAB | lab(27.71, 26.73, -50.31) |
| CIE-LCH | lch(27.71, 56.97, 297.98°) |
| OKLab | oklab(38.75% 0.009 -0.145) |
| OKLCH | oklch(38.75% 0.145 273.6) |
| XYZ | xyz(7.5708, 5.3497, 27.0138) |
| Luminance | 0.0535 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.06
Blueberry
#464196
ΔE00 4.19
Darkslateblue
#483D8B
ΔE00 4.64
Cobalt (survey)
#1E488F
ΔE00 7.43
Cobalt
#0047AB
ΔE00 7.46
Ocean Blue
#4F42B5
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3790 #90882F
analogous
#2F6790 #2F3790 #582F90
triadic
#2F3790 #902F37 #37902F
tetradic
#2F3790 #902F67 #90882F #2F9058
square
#2F3790 #902F67 #90882F #2F9058
split-complementary
#2F3790 #90582F #67902F
monochromatic
#111434 #202562 #2F3790 #3E49BE #6B73CF
Accessibility & contrast
On white
10.14
#2F3790 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2F3790 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3790
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3790 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3790 | 1.00 | 10.14 | 2.07 | 10.14 |
| #FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004693
Deuteranopia (green-blind)
#003D8E
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f3790; /* rgb */ color: rgb(47, 55, 144); /* oklch */ color: oklch(38.7% 0.145 273.6);
Tailwind
colors: {
custom: {
50: '#746db1',
500: '#2f3790',
950: '#000000',
},
}SCSS
$custom: #2f3790; $custom-light: #746db1; $custom-dark: #000000;
JSON
{
"hex": "#2f3790",
"rgb": {
"r": 47,
"g": 55,
"b": 144
},
"hsl": {
"h": 235.052,
"s": 50.785,
"l": 37.451
},
"oklch": {
"l": 0.38745,
"c": 0.14524,
"h": 273.6
},
"luminance": 0.0535
}Semantic roles & 50–950 ramp
primary
#2F3790
secondary
#B6AF65
accent
#CF4EDA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80