#2F26A8#2F26A8
#2F26A8 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.4% C 0.196 H 275.0°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2F26A8 |
|---|---|
| RGB | rgb(47, 38, 168) |
| HSL | hsl(244, 63%, 40%) |
| HSV | hsv(244, 77%, 66%) |
| CMYK | cmyk(72%, 77.4%, 0%, 34.1%) |
| CIE-LAB | lab(26.21, 45.39, -67.42) |
| CIE-LCH | lch(26.21, 81.27, 303.95°) |
| OKLab | oklab(38.36% 0.0171 -0.195) |
| OKLCH | oklch(38.36% 0.196 275) |
| XYZ | xyz(8.9310, 4.8169, 37.4973) |
| Luminance | 0.0482 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.03
Royal
#0C1793
ΔE00 5.00
Cobalt Blue
#030AA7
ΔE00 5.11
Ultramarine
#2000B1
ΔE00 5.19
Sapphire (survey)
#2138AB
ΔE00 5.20
True Blue
#010FCC
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F26A8 #9FA826
analogous
#265EA8 #2F26A8 #7026A8
triadic
#2F26A8 #A82F26 #26A82F
tetradic
#2F26A8 #A8265E #9FA826 #26A870
square
#2F26A8 #A8265E #9FA826 #26A870
split-complementary
#2F26A8 #A87026 #5EA826
monochromatic
#130F44 #211B76 #2F26A8 #4439D2 #736BDE
Accessibility & contrast
On white
10.69
#2F26A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2F26A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F26A8
10.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F26A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F26A8 | 1.00 | 10.69 | 1.96 | 10.69 |
| #FFFFFF | 10.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044AC
Deuteranopia (green-blind)
#0038A6
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2f26a8; /* rgb */ color: rgb(47, 38, 168); /* oklch */ color: oklch(38.4% 0.196 275.0);
Tailwind
colors: {
custom: {
50: '#7b63c3',
500: '#2f26a8',
950: '#000000',
},
}SCSS
$custom: #2f26a8; $custom-light: #7b63c3; $custom-dark: #000000;
JSON
{
"hex": "#2f26a8",
"rgb": {
"r": 47,
"g": 38,
"b": 168
},
"hsl": {
"h": 244.154,
"s": 63.107,
"l": 40.392
},
"oklch": {
"l": 0.38359,
"c": 0.19571,
"h": 275
},
"luminance": 0.04818
}Semantic roles & 50–950 ramp
primary
#2F26A8
secondary
#BDC466
accent
#E642DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82