#2A3FB6#2A3FB6
#2A3FB6 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.4% C 0.188 H 268.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3FB6 |
|---|---|
| RGB | rgb(42, 63, 182) |
| HSL | hsl(231, 63%, 44%) |
| HSV | hsv(231, 77%, 71%) |
| CMYK | cmyk(76.9%, 65.4%, 0%, 28.6%) |
| CIE-LAB | lab(32.75, 34.79, -65.02) |
| CIE-LCH | lch(32.75, 73.74, 298.15°) |
| OKLab | oklab(43.41% -0.0035 -0.1881) |
| OKLCH | oklch(43.41% 0.188 268.9) |
| XYZ | xyz(11.1729, 7.4234, 45.0909) |
| Luminance | 0.0742 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.34
Sapphire (survey)
#2138AB
ΔE00 2.49
Ocean Blue
#4F42B5
ΔE00 4.68
Cobalt
#0047AB
ΔE00 5.13
Blue (survey)
#0343DF
ΔE00 5.16
Blue With A Hint Of Purple
#533CC6
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3FB6 #B6A12A
analogous
#2A85B6 #2A3FB6 #5B2AB6
triadic
#2A3FB6 #B62A3F #3FB62A
tetradic
#2A3FB6 #B62A85 #B6A12A #2AB65B
square
#2A3FB6 #B62A85 #B6A12A #2AB65B
split-complementary
#2A3FB6 #B65B2A #85B62A
monochromatic
#131D53 #1F2E84 #2A3FB6 #485DD5 #7A89E0
Accessibility & contrast
On white
8.45
#2A3FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2A3FB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3FB6
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3FB6 | 1.00 | 8.45 | 2.49 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0046B4
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2a3fb6; /* rgb */ color: rgb(42, 63, 182); /* oklch */ color: oklch(43.4% 0.188 268.9);
Tailwind
colors: {
custom: {
50: '#7a74cd',
500: '#2a3fb6',
950: '#000000',
},
}SCSS
$custom: #2a3fb6; $custom-light: #7a74cd; $custom-dark: #000000;
JSON
{
"hex": "#2a3fb6",
"rgb": {
"r": 42,
"g": 63,
"b": 182
},
"hsl": {
"h": 231,
"s": 62.5,
"l": 43.922
},
"oklch": {
"l": 0.43406,
"c": 0.18815,
"h": 268.9
},
"luminance": 0.07425
}Semantic roles & 50–950 ramp
primary
#2A3FB6
secondary
#C8BC73
accent
#CD42E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82