#2A3FB0#2A3FB0
#2A3FB0 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.180 H 269.0°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3FB0 |
|---|---|
| RGB | rgb(42, 63, 176) |
| HSL | hsl(231, 61%, 43%) |
| HSV | hsv(231, 76%, 69%) |
| CMYK | cmyk(76.1%, 64.2%, 0%, 31%) |
| CIE-LAB | lab(32.21, 32.59, -62.34) |
| CIE-LCH | lch(32.21, 70.34, 297.60°) |
| OKLab | oklab(42.85% -0.0032 -0.1803) |
| OKLCH | oklch(42.85% 0.18 269) |
| XYZ | xyz(10.5661, 7.1807, 41.8950) |
| Luminance | 0.0718 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.12
Blue Blue
#2242C7
ΔE00 3.09
Cobalt
#0047AB
ΔE00 4.75
Ocean Blue
#4F42B5
ΔE00 4.96
Blueberry
#464196
ΔE00 5.47
Blue (survey)
#0343DF
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3FB0 #B09B2A
analogous
#2A82B0 #2A3FB0 #582AB0
triadic
#2A3FB0 #B02A3F #3FB02A
tetradic
#2A3FB0 #B02A82 #B09B2A #2AB058
square
#2A3FB0 #B02A82 #B09B2A #2AB058
split-complementary
#2A3FB0 #B0582A #82B02A
monochromatic
#121C4D #1E2D7F #2A3FB0 #455BD3 #7686DE
Accessibility & contrast
On white
8.62
#2A3FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#2A3FB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3FB0
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3FB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3FB0 | 1.00 | 8.62 | 2.44 | 8.62 |
| #FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0046AE
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2a3fb0; /* rgb */ color: rgb(42, 63, 176); /* oklch */ color: oklch(42.8% 0.180 269.0);
Tailwind
colors: {
custom: {
50: '#7974c9',
500: '#2a3fb0',
950: '#000000',
},
}SCSS
$custom: #2a3fb0; $custom-light: #7974c9; $custom-dark: #000000;
JSON
{
"hex": "#2a3fb0",
"rgb": {
"r": 42,
"g": 63,
"b": 176
},
"hsl": {
"h": 230.597,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.42847,
"c": 0.1803,
"h": 269
},
"luminance": 0.07182
}Semantic roles & 50–950 ramp
primary
#2A3FB0
secondary
#C6B870
accent
#CB43E5
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82