#2A268F#2A268F
#2A268F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.166 H 275.5°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2A268F |
|---|---|
| RGB | rgb(42, 38, 143) |
| HSL | hsl(242, 58%, 35%) |
| HSV | hsv(242, 73%, 56%) |
| CMYK | cmyk(70.6%, 73.4%, 0%, 43.9%) |
| CIE-LAB | lab(23.21, 36.56, -57.08) |
| CIE-LCH | lch(23.21, 67.79, 302.64°) |
| OKLab | oklab(35.35% 0.0158 -0.165) |
| OKLCH | oklch(35.35% 0.166 275.5) |
| XYZ | xyz(6.6043, 3.8610, 26.3785) |
| Luminance | 0.0386 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.84
Midnight Blue
#191970
ΔE00 5.56
Indigo Blue
#3A18B1
ΔE00 5.92
Cobalt Blue
#030AA7
ΔE00 6.02
Sapphire (survey)
#2138AB
ΔE00 6.22
Royal Blue (survey)
#0504AA
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A268F #8B8F26
analogous
#26568F #2A268F #5E268F
triadic
#2A268F #8F2A26 #268F2A
tetradic
#2A268F #8F2656 #8B8F26 #268F5E
square
#2A268F #8F2656 #8B8F26 #268F5E
split-complementary
#2A268F #8F5E26 #568F26
monochromatic
#0E0C2E #1C195F #2A268F #3833BF #605CD4
Accessibility & contrast
On white
11.85
#2A268F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2A268F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A268F
11.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A268F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A268F | 1.00 | 11.85 | 1.77 | 11.85 |
| #FFFFFF | 11.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2a268f; /* rgb */ color: rgb(42, 38, 143); /* oklch */ color: oklch(35.4% 0.166 275.5);
Tailwind
colors: {
custom: {
50: '#7361b1',
500: '#2a268f',
950: '#000000',
},
}SCSS
$custom: #2a268f; $custom-light: #7361b1; $custom-dark: #000000;
JSON
{
"hex": "#2a268f",
"rgb": {
"r": 42,
"g": 38,
"b": 143
},
"hsl": {
"h": 242.286,
"s": 58.011,
"l": 35.49
},
"oklch": {
"l": 0.35354,
"c": 0.16572,
"h": 275.5
},
"luminance": 0.03862
}Semantic roles & 50–950 ramp
primary
#2A268F
secondary
#B5B958
accent
#E147DB
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980