#2F26C5#2F26C5
#2F26C5 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.6% C 0.230 H 272.6°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2F26C5 |
|---|---|
| RGB | rgb(47, 38, 197) |
| HSL | hsl(243, 68%, 46%) |
| HSV | hsv(243, 81%, 77%) |
| CMYK | cmyk(76.1%, 80.7%, 0%, 22.7%) |
| CIE-LAB | lab(29.46, 54.45, -79.28) |
| CIE-LCH | lch(29.46, 96.18, 304.48°) |
| OKLab | oklab(41.59% 0.0103 -0.2294) |
| OKLCH | oklch(41.59% 0.23 272.6) |
| XYZ | xyz(11.9401, 6.0205, 53.3453) |
| Luminance | 0.0602 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
True Blue
#010FCC
ΔE00 3.59
Indigo Blue
#3A18B1
ΔE00 3.75
Ultramarine Blue
#1805DB
ΔE00 3.92
Pure Blue
#0203E2
ΔE00 4.32
Violet Blue
#510AC9
ΔE00 4.52
Mediumblue
#0000CD
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F26C5 #BCC526
analogous
#266CC5 #2F26C5 #7E26C5
triadic
#2F26C5 #C52F26 #26C52F
tetradic
#2F26C5 #C5266C #BCC526 #26C57E
square
#2F26C5 #C5266C #BCC526 #26C57E
split-complementary
#2F26C5 #C57E26 #6CC526
monochromatic
#17125E #231C92 #2F26C5 #544CDC #857FE6
Accessibility & contrast
On white
9.53
#2F26C5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#2F26C5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F26C5
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F26C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F26C5 | 1.00 | 9.53 | 2.20 | 9.53 |
| #FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DC9
Deuteranopia (green-blind)
#003EC2
Tritanopia (blue-blind)
#005877
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2f26c5; /* rgb */ color: rgb(47, 38, 197); /* oklch */ color: oklch(41.6% 0.230 272.6);
Tailwind
colors: {
custom: {
50: '#8165d8',
500: '#2f26c5',
950: '#000000',
},
}SCSS
$custom: #2f26c5; $custom-light: #8165d8; $custom-dark: #000000;
JSON
{
"hex": "#2f26c5",
"rgb": {
"r": 47,
"g": 38,
"b": 197
},
"hsl": {
"h": 243.396,
"s": 67.66,
"l": 46.078
},
"oklch": {
"l": 0.41586,
"c": 0.22962,
"h": 272.6
},
"luminance": 0.06022
}Semantic roles & 50–950 ramp
primary
#2F26C5
secondary
#CACF78
accent
#EB3DE1
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83