#2F25A6#2F25A6
#2F25A6 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.0% C 0.194 H 275.3°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2F25A6 |
|---|---|
| RGB | rgb(47, 37, 166) |
| HSL | hsl(245, 64%, 40%) |
| HSV | hsv(245, 78%, 65%) |
| CMYK | cmyk(71.7%, 77.7%, 0%, 34.9%) |
| CIE-LAB | lab(25.80, 45.28, -66.88) |
| CIE-LCH | lch(25.80, 80.76, 304.10°) |
| OKLab | oklab(38.01% 0.0181 -0.1934) |
| OKLCH | oklch(38.01% 0.194 275.3) |
| XYZ | xyz(8.7145, 4.6798, 36.5130) |
| Luminance | 0.0468 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.99
Royal
#0C1793
ΔE00 4.70
Cobalt Blue
#030AA7
ΔE00 4.89
Ultramarine
#2000B1
ΔE00 5.03
Royal Blue (survey)
#0504AA
ΔE00 5.27
True Blue
#010FCC
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F25A6 #9CA625
analogous
#255CA6 #2F25A6 #6F25A6
triadic
#2F25A6 #A62F25 #25A62F
tetradic
#2F25A6 #A6255C #9CA625 #25A66F
square
#2F25A6 #A6255C #9CA625 #25A66F
split-complementary
#2F25A6 #A66F25 #5CA625
monochromatic
#130F42 #211A74 #2F25A6 #4236D2 #7168DD
Accessibility & contrast
On white
10.85
#2F25A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2F25A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F25A6
10.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F25A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F25A6 | 1.00 | 10.85 | 1.94 | 10.85 |
| #FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043AA
Deuteranopia (green-blind)
#0037A4
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2f25a6; /* rgb */ color: rgb(47, 37, 166); /* oklch */ color: oklch(38.0% 0.194 275.3);
Tailwind
colors: {
custom: {
50: '#7a62c2',
500: '#2f25a6',
950: '#000000',
},
}SCSS
$custom: #2f25a6; $custom-light: #7a62c2; $custom-dark: #000000;
JSON
{
"hex": "#2f25a6",
"rgb": {
"r": 47,
"g": 37,
"b": 166
},
"hsl": {
"h": 244.651,
"s": 63.547,
"l": 39.804
},
"oklch": {
"l": 0.38011,
"c": 0.19422,
"h": 275.3
},
"luminance": 0.04681
}Semantic roles & 50–950 ramp
primary
#2F25A6
secondary
#BCC364
accent
#E741DA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82