#2F26B1#2F26B1
#2F26B1 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.3% C 0.206 H 274.2°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2F26B1 |
|---|---|
| RGB | rgb(47, 38, 177) |
| HSL | hsl(244, 65%, 42%) |
| HSV | hsv(244, 79%, 69%) |
| CMYK | cmyk(73.4%, 78.5%, 0%, 30.6%) |
| CIE-LAB | lab(27.20, 48.25, -71.19) |
| CIE-LCH | lch(27.20, 86.00, 304.13°) |
| OKLab | oklab(39.35% 0.0151 -0.2059) |
| OKLCH | oklch(39.35% 0.206 274.2) |
| XYZ | xyz(9.7986, 5.1639, 42.0668) |
| Luminance | 0.0517 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.72
True Blue
#010FCC
ΔE00 4.37
Ultramarine
#2000B1
ΔE00 5.14
Mediumblue
#0000CD
ΔE00 5.20
Sapphire (survey)
#2138AB
ΔE00 5.23
Cobalt Blue
#030AA7
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F26B1 #A8B126
analogous
#2663B1 #2F26B1 #7526B1
triadic
#2F26B1 #B12F26 #26B12F
tetradic
#2F26B1 #B12663 #A8B126 #26B175
square
#2F26B1 #B12663 #A8B126 #26B175
split-complementary
#2F26B1 #B17526 #63B126
monochromatic
#14104C #221B7F #2F26B1 #483FD6 #7871E0
Accessibility & contrast
On white
10.33
#2F26B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2F26B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F26B1
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F26B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F26B1 | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046B5
Deuteranopia (green-blind)
#003AAF
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2f26b1; /* rgb */ color: rgb(47, 38, 177); /* oklch */ color: oklch(39.3% 0.206 274.2);
Tailwind
colors: {
custom: {
50: '#7d64ca',
500: '#2f26b1',
950: '#000000',
},
}SCSS
$custom: #2f26b1; $custom-light: #7d64ca; $custom-dark: #000000;
JSON
{
"hex": "#2f26b1",
"rgb": {
"r": 47,
"g": 38,
"b": 177
},
"hsl": {
"h": 243.885,
"s": 64.651,
"l": 42.157
},
"oklch": {
"l": 0.39345,
"c": 0.20647,
"h": 274.2
},
"luminance": 0.05165
}Semantic roles & 50–950 ramp
primary
#2F26B1
secondary
#C1C76B
accent
#E840DD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0513
muted
#7C7A82