#2F2B7A#2F2B7A
#2F2B7A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.130 H 279.4°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2B7A |
|---|---|
| RGB | rgb(47, 43, 122) |
| HSL | hsl(243, 48%, 32%) |
| HSV | hsv(243, 65%, 48%) |
| CMYK | cmyk(61.5%, 64.8%, 0%, 52.2%) |
| CIE-LAB | lab(22.78, 26.79, -44.58) |
| CIE-LCH | lch(22.78, 52.01, 301.01°) |
| OKLab | oklab(34.54% 0.0212 -0.1282) |
| OKLCH | oklch(34.54% 0.13 279.4) |
| XYZ | xyz(5.5479, 3.7368, 18.8375) |
| Luminance | 0.0374 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.13
Darkslateblue
#483D8B
ΔE00 6.09
Royal
#0C1793
ΔE00 7.08
Blueberry
#464196
ΔE00 7.33
Sapphire (survey)
#2138AB
ΔE00 8.13
Marine
#042E60
ΔE00 8.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2B7A #767A2B
analogous
#2B4F7A #2F2B7A #572B7A
triadic
#2F2B7A #7A2F2B #2B7A2F
tetradic
#2F2B7A #7A2B4F #767A2B #2B7A57
square
#2F2B7A #7A2B4F #767A2B #2B7A57
split-complementary
#2F2B7A #7A572B #4F7A2B
monochromatic
#0C0B1F #1E1B4D #2F2B7A #403BA7 #605AC5
Accessibility & contrast
On white
12.02
#2F2B7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#2F2B7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2B7A
12.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2B7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2B7A | 1.00 | 12.02 | 1.75 | 12.02 |
| #FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#003378
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #2f2b7a; /* rgb */ color: rgb(47, 43, 122); /* oklch */ color: oklch(34.5% 0.130 279.4);
Tailwind
colors: {
custom: {
50: '#7064a1',
500: '#2f2b7a',
950: '#000000',
},
}SCSS
$custom: #2f2b7a; $custom-light: #7064a1; $custom-dark: #000000;
JSON
{
"hex": "#2f2b7a",
"rgb": {
"r": 47,
"g": 43,
"b": 122
},
"hsl": {
"h": 243.038,
"s": 47.879,
"l": 32.353
},
"oklch": {
"l": 0.34539,
"c": 0.12994,
"h": 279.4
},
"luminance": 0.03737
}Semantic roles & 50–950 ramp
primary
#2F2B7A
secondary
#A7AB56
accent
#D750D1
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08050F
muted
#7B7A7F