#2A3EB6#2A3EB6
#2A3EB6 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.2% C 0.189 H 269.1°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3EB6 |
|---|---|
| RGB | rgb(42, 62, 182) |
| HSL | hsl(231, 63%, 44%) |
| HSV | hsv(231, 77%, 71%) |
| CMYK | cmyk(76.9%, 65.9%, 0%, 28.6%) |
| CIE-LAB | lab(32.51, 35.43, -65.42) |
| CIE-LCH | lch(32.51, 74.40, 298.44°) |
| OKLab | oklab(43.23% -0.0029 -0.1893) |
| OKLCH | oklch(43.23% 0.189 269.1) |
| XYZ | xyz(11.1181, 7.3137, 45.0726) |
| Luminance | 0.0732 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.30
Blue Blue
#2242C7
ΔE00 2.46
Ocean Blue
#4F42B5
ΔE00 4.65
Blue (survey)
#0343DF
ΔE00 5.24
Cobalt
#0047AB
ΔE00 5.36
Blue With A Hint Of Purple
#533CC6
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3EB6 #B6A22A
analogous
#2A84B6 #2A3EB6 #5C2AB6
triadic
#2A3EB6 #B62A3E #3EB62A
tetradic
#2A3EB6 #B62A84 #B6A22A #2AB65C
square
#2A3EB6 #B62A84 #B6A22A #2AB65C
split-complementary
#2A3EB6 #B65C2A #84B62A
monochromatic
#131C53 #1F2D84 #2A3EB6 #485CD5 #7A89E0
Accessibility & contrast
On white
8.53
#2A3EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2A3EB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3EB6
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3EB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3EB6 | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0046B4
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2a3eb6; /* rgb */ color: rgb(42, 62, 182); /* oklch */ color: oklch(43.2% 0.189 269.1);
Tailwind
colors: {
custom: {
50: '#7a73cd',
500: '#2a3eb6',
950: '#000000',
},
}SCSS
$custom: #2a3eb6; $custom-light: #7a73cd; $custom-dark: #000000;
JSON
{
"hex": "#2a3eb6",
"rgb": {
"r": 42,
"g": 62,
"b": 182
},
"hsl": {
"h": 231.429,
"s": 62.5,
"l": 43.922
},
"oklch": {
"l": 0.43229,
"c": 0.18931,
"h": 269.1
},
"luminance": 0.07315
}Semantic roles & 50–950 ramp
primary
#2A3EB6
secondary
#C8BC73
accent
#CE42E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82