#2A268E#2A268E
#2A268E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.164 H 275.6°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2A268E |
|---|---|
| RGB | rgb(42, 38, 142) |
| HSL | hsl(242, 58%, 35%) |
| HSV | hsv(242, 73%, 56%) |
| CMYK | cmyk(70.4%, 73.2%, 0%, 44.3%) |
| CIE-LAB | lab(23.10, 36.22, -56.63) |
| CIE-LCH | lch(23.10, 67.22, 302.60°) |
| OKLab | oklab(35.25% 0.0159 -0.1636) |
| OKLCH | oklch(35.25% 0.164 275.6) |
| XYZ | xyz(6.5288, 3.8309, 25.9813) |
| Luminance | 0.0383 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.88
Midnight Blue
#191970
ΔE00 5.44
Indigo Blue
#3A18B1
ΔE00 6.06
Cobalt Blue
#030AA7
ΔE00 6.11
Sapphire (survey)
#2138AB
ΔE00 6.31
Royal Blue (survey)
#0504AA
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A268E #8A8E26
analogous
#26568E #2A268E #5E268E
triadic
#2A268E #8E2A26 #268E2A
tetradic
#2A268E #8E2656 #8A8E26 #268E5E
square
#2A268E #8E2656 #8A8E26 #268E5E
split-complementary
#2A268E #8E5E26 #568E26
monochromatic
#0D0C2D #1C195E #2A268E #3833BE #605BD3
Accessibility & contrast
On white
11.89
#2A268E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#2A268E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A268E
11.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A268E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A268E | 1.00 | 11.89 | 1.77 | 11.89 |
| #FFFFFF | 11.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2a268e; /* rgb */ color: rgb(42, 38, 142); /* oklch */ color: oklch(35.3% 0.164 275.6);
Tailwind
colors: {
custom: {
50: '#7361b0',
500: '#2a268e',
950: '#000000',
},
}SCSS
$custom: #2a268e; $custom-light: #7361b0; $custom-dark: #000000;
JSON
{
"hex": "#2a268e",
"rgb": {
"r": 42,
"g": 38,
"b": 142
},
"hsl": {
"h": 242.308,
"s": 57.778,
"l": 35.294
},
"oklch": {
"l": 0.3525,
"c": 0.16442,
"h": 275.6
},
"luminance": 0.03831
}Semantic roles & 50–950 ramp
primary
#2A268E
secondary
#B4B858
accent
#E147DB
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980