#2F26AC#2F26AC
#2F26AC is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.8% C 0.201 H 274.6°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2F26AC |
|---|---|
| RGB | rgb(47, 38, 172) |
| HSL | hsl(244, 64%, 41%) |
| HSV | hsv(244, 78%, 67%) |
| CMYK | cmyk(72.7%, 77.9%, 0%, 32.5%) |
| CIE-LAB | lab(26.64, 46.67, -69.10) |
| CIE-LCH | lch(26.64, 83.39, 304.03°) |
| OKLab | oklab(38.8% 0.0162 -0.1999) |
| OKLCH | oklch(38.8% 0.201 274.6) |
| XYZ | xyz(9.3093, 4.9682, 39.4901) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.83
True Blue
#010FCC
ΔE00 4.81
Ultramarine
#2000B1
ΔE00 5.13
Sapphire (survey)
#2138AB
ΔE00 5.18
Cobalt Blue
#030AA7
ΔE00 5.20
Royal
#0C1793
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F26AC #A3AC26
analogous
#2660AC #2F26AC #7226AC
triadic
#2F26AC #AC2F26 #26AC2F
tetradic
#2F26AC #AC2660 #A3AC26 #26AC72
square
#2F26AC #AC2660 #A3AC26 #26AC72
split-complementary
#2F26AC #AC7226 #60AC26
monochromatic
#141048 #211B7A #2F26AC #463BD4 #756EDF
Accessibility & contrast
On white
10.53
#2F26AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2F26AC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F26AC
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F26AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F26AC | 1.00 | 10.53 | 1.99 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045B0
Deuteranopia (green-blind)
#0039AA
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f26ac; /* rgb */ color: rgb(47, 38, 172); /* oklch */ color: oklch(38.8% 0.201 274.6);
Tailwind
colors: {
custom: {
50: '#7c63c6',
500: '#2f26ac',
950: '#000000',
},
}SCSS
$custom: #2f26ac; $custom-light: #7c63c6; $custom-dark: #000000;
JSON
{
"hex": "#2f26ac",
"rgb": {
"r": 47,
"g": 38,
"b": 172
},
"hsl": {
"h": 244.03,
"s": 63.81,
"l": 41.176
},
"oklch": {
"l": 0.38795,
"c": 0.20052,
"h": 274.6
},
"luminance": 0.04969
}Semantic roles & 50–950 ramp
primary
#2F26AC
secondary
#BFC568
accent
#E741DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82