#2A269E#2A269E
#2A269E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.185 H 274.0°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2A269E |
|---|---|
| RGB | rgb(42, 38, 158) |
| HSL | hsl(242, 61%, 38%) |
| HSV | hsv(242, 76%, 62%) |
| CMYK | cmyk(73.4%, 75.9%, 0%, 38%) |
| CIE-LAB | lab(24.78, 41.65, -63.71) |
| CIE-LCH | lch(24.78, 76.11, 303.17°) |
| OKLab | oklab(36.95% 0.0129 -0.1843) |
| OKLCH | oklch(36.95% 0.185 274) |
| XYZ | xyz(7.8175, 4.3463, 32.7681) |
| Luminance | 0.0435 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.02
Indigo Blue
#3A18B1
ΔE00 4.14
Cobalt Blue
#030AA7
ΔE00 5.05
Sapphire (survey)
#2138AB
ΔE00 5.28
Royal Blue (survey)
#0504AA
ΔE00 5.54
Ultramarine
#2000B1
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A269E #9A9E26
analogous
#265E9E #2A269E #66269E
triadic
#2A269E #9E2A26 #269E2A
tetradic
#2A269E #9E265E #9A9E26 #269E66
square
#2A269E #9E265E #9A9E26 #269E66
split-complementary
#2A269E #9E6626 #5E9E26
monochromatic
#100E3B #1D1A6D #2A269E #3833CE #6865DA
Accessibility & contrast
On white
11.23
#2A269E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#2A269E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A269E
11.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A269E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A269E | 1.00 | 11.23 | 1.87 | 11.23 |
| #FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2a269e; /* rgb */ color: rgb(42, 38, 158); /* oklch */ color: oklch(36.9% 0.185 274.0);
Tailwind
colors: {
custom: {
50: '#7662bc',
500: '#2a269e',
950: '#000000',
},
}SCSS
$custom: #2a269e; $custom-light: #7662bc; $custom-dark: #000000;
JSON
{
"hex": "#2a269e",
"rgb": {
"r": 42,
"g": 38,
"b": 158
},
"hsl": {
"h": 242,
"s": 61.224,
"l": 38.431
},
"oklch": {
"l": 0.36947,
"c": 0.18474,
"h": 274
},
"luminance": 0.04347
}Semantic roles & 50–950 ramp
primary
#2A269E
secondary
#BCC060
accent
#E443DF
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981