#2A26AF#2A26AF
#2A26AF is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.8% C 0.205 H 272.6°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2A26AF |
|---|---|
| RGB | rgb(42, 38, 175) |
| HSL | hsl(242, 64%, 42%) |
| HSV | hsv(242, 78%, 69%) |
| CMYK | cmyk(76%, 78.3%, 0%, 31.4%) |
| CIE-LAB | lab(26.66, 47.22, -70.89) |
| CIE-LCH | lch(26.66, 85.18, 303.67°) |
| OKLab | oklab(38.82% 0.0093 -0.2052) |
| OKLCH | oklch(38.82% 0.205 272.6) |
| XYZ | xyz(9.3832, 4.9726, 41.0144) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.01
True Blue
#010FCC
ΔE00 4.48
Sapphire (survey)
#2138AB
ΔE00 5.04
Ultramarine
#2000B1
ΔE00 5.10
Cobalt Blue
#030AA7
ΔE00 5.15
Mediumblue
#0000CD
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A26AF #ABAF26
analogous
#2667AF #2A26AF #6F26AF
triadic
#2A26AF #AF2A26 #26AF2A
tetradic
#2A26AF #AF2667 #ABAF26 #26AF6F
square
#2A26AF #AF2667 #ABAF26 #26AF6F
split-complementary
#2A26AF #AF6F26 #67AF26
monochromatic
#12104A #1E1B7D #2A26AF #423DD5 #7370E0
Accessibility & contrast
On white
10.53
#2A26AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#2A26AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A26AF
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A26AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A26AF | 1.00 | 10.53 | 1.99 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#0038AD
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2a26af; /* rgb */ color: rgb(42, 38, 175); /* oklch */ color: oklch(38.8% 0.205 272.6);
Tailwind
colors: {
custom: {
50: '#7b63c8',
500: '#2a26af',
950: '#000000',
},
}SCSS
$custom: #2a26af; $custom-light: #7b63c8; $custom-dark: #000000;
JSON
{
"hex": "#2a26af",
"rgb": {
"r": 42,
"g": 38,
"b": 175
},
"hsl": {
"h": 241.752,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.38817,
"c": 0.20538,
"h": 272.6
},
"luminance": 0.04974
}Semantic roles & 50–950 ramp
primary
#2A26AF
secondary
#C4C76A
accent
#E740E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82