#2F26AB#2F26AB
#2F26AB is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.7% C 0.199 H 274.7°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2F26AB |
|---|---|
| RGB | rgb(47, 38, 171) |
| HSL | hsl(244, 64%, 41%) |
| HSV | hsv(244, 78%, 67%) |
| CMYK | cmyk(72.5%, 77.8%, 0%, 32.9%) |
| CIE-LAB | lab(26.53, 46.35, -68.68) |
| CIE-LCH | lch(26.53, 82.86, 304.01°) |
| OKLab | oklab(38.69% 0.0165 -0.1986) |
| OKLCH | oklch(38.69% 0.199 274.7) |
| XYZ | xyz(9.2137, 4.9299, 38.9862) |
| Luminance | 0.0493 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.87
True Blue
#010FCC
ΔE00 4.91
Ultramarine
#2000B1
ΔE00 5.14
Cobalt Blue
#030AA7
ΔE00 5.17
Sapphire (survey)
#2138AB
ΔE00 5.18
Royal
#0C1793
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F26AB #A2AB26
analogous
#265FAB #2F26AB #7126AB
triadic
#2F26AB #AB2F26 #26AB2F
tetradic
#2F26AB #AB265F #A2AB26 #26AB71
square
#2F26AB #AB265F #A2AB26 #26AB71
split-complementary
#2F26AB #AB7126 #5FAB26
monochromatic
#131047 #211B79 #2F26AB #453BD3 #756DDF
Accessibility & contrast
On white
10.57
#2F26AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2F26AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F26AB
10.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F26AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F26AB | 1.00 | 10.57 | 1.99 | 10.57 |
| #FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AF
Deuteranopia (green-blind)
#0039A9
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2f26ab; /* rgb */ color: rgb(47, 38, 171); /* oklch */ color: oklch(38.7% 0.199 274.7);
Tailwind
colors: {
custom: {
50: '#7b63c5',
500: '#2f26ab',
950: '#000000',
},
}SCSS
$custom: #2f26ab; $custom-light: #7b63c5; $custom-dark: #000000;
JSON
{
"hex": "#2f26ab",
"rgb": {
"r": 47,
"g": 38,
"b": 171
},
"hsl": {
"h": 244.06,
"s": 63.636,
"l": 40.98
},
"oklch": {
"l": 0.38686,
"c": 0.19932,
"h": 274.7
},
"luminance": 0.04931
}Semantic roles & 50–950 ramp
primary
#2F26AB
secondary
#BFC568
accent
#E741DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82