#2A3FB3#2A3FB3
#2A3FB3 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.1% C 0.184 H 269.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3FB3 |
|---|---|
| RGB | rgb(42, 63, 179) |
| HSL | hsl(231, 62%, 43%) |
| HSV | hsv(231, 77%, 70%) |
| CMYK | cmyk(76.5%, 64.8%, 0%, 29.8%) |
| CIE-LAB | lab(32.48, 33.70, -63.68) |
| CIE-LCH | lch(32.48, 72.05, 297.88°) |
| OKLab | oklab(43.13% -0.0034 -0.1842) |
| OKLCH | oklch(43.13% 0.184 269) |
| XYZ | xyz(10.8662, 7.3007, 43.4756) |
| Luminance | 0.0730 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.27
Blue Blue
#2242C7
ΔE00 2.70
Ocean Blue
#4F42B5
ΔE00 4.80
Cobalt
#0047AB
ΔE00 4.92
Blue (survey)
#0343DF
ΔE00 5.54
Blueberry
#464196
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3FB3 #B39E2A
analogous
#2A83B3 #2A3FB3 #592AB3
triadic
#2A3FB3 #B32A3F #3FB32A
tetradic
#2A3FB3 #B32A83 #B39E2A #2AB359
square
#2A3FB3 #B32A83 #B39E2A #2AB359
split-complementary
#2A3FB3 #B3592A #83B32A
monochromatic
#131C50 #1E2E81 #2A3FB3 #465CD4 #7888DF
Accessibility & contrast
On white
8.54
#2A3FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2A3FB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3FB3
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3FB3 | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0046B1
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2a3fb3; /* rgb */ color: rgb(42, 63, 179); /* oklch */ color: oklch(43.1% 0.184 269.0);
Tailwind
colors: {
custom: {
50: '#7974cb',
500: '#2a3fb3',
950: '#000000',
},
}SCSS
$custom: #2a3fb3; $custom-light: #7974cb; $custom-dark: #000000;
JSON
{
"hex": "#2a3fb3",
"rgb": {
"r": 42,
"g": 63,
"b": 179
},
"hsl": {
"h": 230.803,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.43125,
"c": 0.18424,
"h": 269
},
"luminance": 0.07302
}Semantic roles & 50–950 ramp
primary
#2A3FB3
secondary
#C7BA72
accent
#CC43E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82