#2F26C1#2F26C1
#2F26C1 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 41.1% C 0.225 H 272.9°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2F26C1 |
|---|---|
| RGB | rgb(47, 38, 193) |
| HSL | hsl(243, 67%, 45%) |
| HSV | hsv(243, 80%, 76%) |
| CMYK | cmyk(75.6%, 80.3%, 0%, 24.3%) |
| CIE-LAB | lab(29.00, 53.23, -77.69) |
| CIE-LCH | lch(29.00, 94.18, 304.42°) |
| OKLab | oklab(41.13% 0.0113 -0.2248) |
| OKLCH | oklch(41.13% 0.225 272.9) |
| XYZ | xyz(11.4878, 5.8396, 50.9635) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.41
True Blue
#010FCC
ΔE00 3.60
Ultramarine Blue
#1805DB
ΔE00 4.16
Mediumblue
#0000CD
ΔE00 4.58
Pure Blue
#0203E2
ΔE00 4.61
Violet Blue
#510AC9
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F26C1 #B8C126
analogous
#266AC1 #2F26C1 #7D26C1
triadic
#2F26C1 #C12F26 #26C12F
tetradic
#2F26C1 #C1266A #B8C126 #26C17D
square
#2F26C1 #C1266A #B8C126 #26C17D
split-complementary
#2F26C1 #C17D26 #6AC126
monochromatic
#16125B #231C8E #2F26C1 #5249DB #827CE5
Accessibility & contrast
On white
9.69
#2F26C1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2F26C1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F26C1
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F26C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F26C1 | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CC5
Deuteranopia (green-blind)
#003DBE
Tritanopia (blue-blind)
#005774
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2f26c1; /* rgb */ color: rgb(47, 38, 193); /* oklch */ color: oklch(41.1% 0.225 272.9);
Tailwind
colors: {
custom: {
50: '#8165d5',
500: '#2f26c1',
950: '#000000',
},
}SCSS
$custom: #2f26c1; $custom-light: #8165d5; $custom-dark: #000000;
JSON
{
"hex": "#2f26c1",
"rgb": {
"r": 47,
"g": 38,
"b": 193
},
"hsl": {
"h": 243.484,
"s": 67.1,
"l": 45.294
},
"oklch": {
"l": 0.41133,
"c": 0.22507,
"h": 272.9
},
"luminance": 0.05841
}Semantic roles & 50–950 ramp
primary
#2F26C1
secondary
#C8CD75
accent
#EA3EE0
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83