#2F26B6#2F26B6
#2F26B6 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.9% C 0.212 H 273.7°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2F26B6 |
|---|---|
| RGB | rgb(47, 38, 182) |
| HSL | hsl(244, 65%, 43%) |
| HSV | hsv(244, 79%, 71%) |
| CMYK | cmyk(74.2%, 79.1%, 0%, 28.6%) |
| CIE-LAB | lab(27.76, 49.83, -73.25) |
| CIE-LCH | lch(27.76, 88.59, 304.23°) |
| OKLab | oklab(39.9% 0.0139 -0.2119) |
| OKLCH | oklch(39.9% 0.212 273.7) |
| XYZ | xyz(10.3061, 5.3669, 44.7397) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.79
True Blue
#010FCC
ΔE00 4.01
Mediumblue
#0000CD
ΔE00 4.90
Ultramarine Blue
#1805DB
ΔE00 5.08
Ultramarine
#2000B1
ΔE00 5.25
Violet Blue
#510AC9
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F26B6 #ADB626
analogous
#2665B6 #2F26B6 #7726B6
triadic
#2F26B6 #B62F26 #26B62F
tetradic
#2F26B6 #B62665 #ADB626 #26B677
square
#2F26B6 #B62665 #ADB626 #26B677
split-complementary
#2F26B6 #B67726 #65B626
monochromatic
#151151 #221B83 #2F26B6 #4B42D7 #7B74E2
Accessibility & contrast
On white
10.13
#2F26B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2F26B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F26B6
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F26B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F26B6 | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048BA
Deuteranopia (green-blind)
#003BB4
Tritanopia (blue-blind)
#00526E
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2f26b6; /* rgb */ color: rgb(47, 38, 182); /* oklch */ color: oklch(39.9% 0.212 273.7);
Tailwind
colors: {
custom: {
50: '#7e64cd',
500: '#2f26b6',
950: '#000000',
},
}SCSS
$custom: #2f26b6; $custom-light: #7e64cd; $custom-dark: #000000;
JSON
{
"hex": "#2f26b6",
"rgb": {
"r": 47,
"g": 38,
"b": 182
},
"hsl": {
"h": 243.75,
"s": 65.455,
"l": 43.137
},
"oklch": {
"l": 0.39899,
"c": 0.21234,
"h": 273.7
},
"luminance": 0.05368
}Semantic roles & 50–950 ramp
primary
#2F26B6
secondary
#C4C96E
accent
#E83FDE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82