#2F2A9B#2F2A9B
#2F2A9B is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.176 H 275.8°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2F2A9B |
|---|---|
| RGB | rgb(47, 42, 155) |
| HSL | hsl(243, 57%, 39%) |
| HSV | hsv(243, 73%, 61%) |
| CMYK | cmyk(69.7%, 72.9%, 0%, 39.2%) |
| CIE-LAB | lab(25.64, 38.85, -60.45) |
| CIE-LCH | lch(25.64, 71.86, 302.73°) |
| OKLab | oklab(37.55% 0.0176 -0.1747) |
| OKLCH | oklch(37.55% 0.176 275.8) |
| XYZ | xyz(7.9147, 4.6261, 31.4798) |
| Luminance | 0.0463 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.73
Indigo Blue
#3A18B1
ΔE00 4.87
Royal
#0C1793
ΔE00 4.88
Cobalt Blue
#030AA7
ΔE00 6.16
Royal Blue (survey)
#0504AA
ΔE00 6.65
Ultramarine
#2000B1
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F2A9B #969B2A
analogous
#2A5D9B #2F2A9B #672A9B
triadic
#2F2A9B #9B2F2A #2A9B2F
tetradic
#2F2A9B #9B2A5D #969B2A #2A9B67
square
#2F2A9B #9B2A5D #969B2A #2A9B67
split-complementary
#2F2A9B #9B672A #5D9B2A
monochromatic
#12103B #201D6B #2F2A9B #3F39C9 #6E69D6
Accessibility & contrast
On white
10.91
#2F2A9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2F2A9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F2A9B
10.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F2A9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F2A9B | 1.00 | 10.91 | 1.93 | 10.91 |
| #FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003899
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2f2a9b; /* rgb */ color: rgb(47, 42, 155); /* oklch */ color: oklch(37.6% 0.176 275.8);
Tailwind
colors: {
custom: {
50: '#7765ba',
500: '#2f2a9b',
950: '#000000',
},
}SCSS
$custom: #2f2a9b; $custom-light: #7765ba; $custom-dark: #000000;
JSON
{
"hex": "#2f2a9b",
"rgb": {
"r": 47,
"g": 42,
"b": 155
},
"hsl": {
"h": 242.655,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.37553,
"c": 0.17558,
"h": 275.8
},
"luminance": 0.04627
}Semantic roles & 50–950 ramp
primary
#2F2A9B
secondary
#B9BD64
accent
#E147DA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81