#2F3090#2F3090
#2F3090 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.154 H 275.5°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3090 |
|---|---|
| RGB | rgb(47, 48, 144) |
| HSL | hsl(239, 51%, 37%) |
| HSV | hsv(239, 67%, 56%) |
| CMYK | cmyk(67.4%, 66.7%, 0%, 43.5%) |
| CIE-LAB | lab(25.95, 31.32, -53.18) |
| CIE-LCH | lch(25.95, 61.72, 300.50°) |
| OKLab | oklab(37.46% 0.0149 -0.1534) |
| OKLCH | oklch(37.46% 0.154 275.5) |
| XYZ | xyz(7.2616, 4.7312, 26.9107) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.58
Darkslateblue
#483D8B
ΔE00 5.36
Blueberry
#464196
ΔE00 5.44
Royal
#0C1793
ΔE00 6.40
Midnight Blue
#191970
ΔE00 7.32
Indigo Blue
#3A18B1
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3090 #908F2F
analogous
#2F6190 #2F3090 #5E2F90
triadic
#2F3090 #902F30 #30902F
tetradic
#2F3090 #902F61 #908F2F #2F905E
square
#2F3090 #902F61 #908F2F #2F905E
split-complementary
#2F3090 #905E2F #61902F
monochromatic
#111134 #202162 #2F3090 #3E3FBE #6B6CCF
Accessibility & contrast
On white
10.79
#2F3090 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2F3090 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3090
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3090 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3090 | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004293
Deuteranopia (green-blind)
#00398E
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2f3090; /* rgb */ color: rgb(47, 48, 144); /* oklch */ color: oklch(37.5% 0.154 275.5);
Tailwind
colors: {
custom: {
50: '#7468b1',
500: '#2f3090',
950: '#000000',
},
}SCSS
$custom: #2f3090; $custom-light: #7468b1; $custom-dark: #000000;
JSON
{
"hex": "#2f3090",
"rgb": {
"r": 47,
"g": 48,
"b": 144
},
"hsl": {
"h": 239.381,
"s": 50.785,
"l": 37.451
},
"oklch": {
"l": 0.37458,
"c": 0.15413,
"h": 275.5
},
"luminance": 0.04732
}Semantic roles & 50–950 ramp
primary
#2F3090
secondary
#B6B565
accent
#D94EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80