#2F259F#2F259F
#2F259F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.3% C 0.186 H 276.1°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2F259F |
|---|---|
| RGB | rgb(47, 37, 159) |
| HSL | hsl(245, 62%, 38%) |
| HSV | hsv(245, 77%, 62%) |
| CMYK | cmyk(70.4%, 76.7%, 0%, 37.6%) |
| CIE-LAB | lab(25.04, 43.02, -63.88) |
| CIE-LCH | lch(25.04, 77.02, 303.96°) |
| OKLab | oklab(37.25% 0.0197 -0.1846) |
| OKLCH | oklch(37.25% 0.186 276.1) |
| XYZ | xyz(8.0898, 4.4299, 33.2229) |
| Luminance | 0.0443 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.61
Royal
#0C1793
ΔE00 4.18
Cobalt Blue
#030AA7
ΔE00 4.96
Ultramarine
#2000B1
ΔE00 5.36
Royal Blue (survey)
#0504AA
ΔE00 5.40
Sapphire (survey)
#2138AB
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F259F #959F25
analogous
#25589F #2F259F #6C259F
triadic
#2F259F #9F2F25 #259F2F
tetradic
#2F259F #9F2558 #959F25 #259F6C
square
#2F259F #9F2558 #959F25 #259F6C
split-complementary
#2F259F #9F6C25 #589F25
monochromatic
#120E3C #20196D #2F259F #3F32CF #6D64DB
Accessibility & contrast
On white
11.13
#2F259F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2F259F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F259F
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F259F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F259F | 1.00 | 11.13 | 1.89 | 11.13 |
| #FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2f259f; /* rgb */ color: rgb(47, 37, 159); /* oklch */ color: oklch(37.3% 0.186 276.1);
Tailwind
colors: {
custom: {
50: '#7962bd',
500: '#2f259f',
950: '#000000',
},
}SCSS
$custom: #2f259f; $custom-light: #7962bd; $custom-dark: #000000;
JSON
{
"hex": "#2f259f",
"rgb": {
"r": 47,
"g": 37,
"b": 159
},
"hsl": {
"h": 244.918,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.37254,
"c": 0.1857,
"h": 276.1
},
"luminance": 0.04431
}Semantic roles & 50–950 ramp
primary
#2F259F
secondary
#B8C05F
accent
#E542D8
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981