#2A3FB7#2A3FB7
#2A3FB7 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.5% C 0.189 H 268.9°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3FB7 |
|---|---|
| RGB | rgb(42, 63, 183) |
| HSL | hsl(231, 63%, 44%) |
| HSV | hsv(231, 77%, 72%) |
| CMYK | cmyk(77%, 65.6%, 0%, 28.2%) |
| CIE-LAB | lab(32.84, 35.16, -65.46) |
| CIE-LCH | lch(32.84, 74.31, 298.24°) |
| OKLab | oklab(43.5% -0.0036 -0.1894) |
| OKLCH | oklch(43.5% 0.189 268.9) |
| XYZ | xyz(11.2766, 7.4649, 45.6371) |
| Luminance | 0.0747 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.22
Sapphire (survey)
#2138AB
ΔE00 2.57
Ocean Blue
#4F42B5
ΔE00 4.64
Blue (survey)
#0343DF
ΔE00 5.04
Cobalt
#0047AB
ΔE00 5.20
Blue With A Hint Of Purple
#533CC6
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3FB7 #B7A22A
analogous
#2A86B7 #2A3FB7 #5C2AB7
triadic
#2A3FB7 #B72A3F #3FB72A
tetradic
#2A3FB7 #B72A86 #B7A22A #2AB75C
square
#2A3FB7 #B72A86 #B7A22A #2AB75C
split-complementary
#2A3FB7 #B75C2A #86B72A
monochromatic
#131D53 #1F2E85 #2A3FB7 #495ED5 #7B8AE1
Accessibility & contrast
On white
8.42
#2A3FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2A3FB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3FB7
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3FB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3FB7 | 1.00 | 8.42 | 2.49 | 8.42 |
| #FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0047B5
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2a3fb7; /* rgb */ color: rgb(42, 63, 183); /* oklch */ color: oklch(43.5% 0.189 268.9);
Tailwind
colors: {
custom: {
50: '#7a74ce',
500: '#2a3fb7',
950: '#000000',
},
}SCSS
$custom: #2a3fb7; $custom-light: #7a74ce; $custom-dark: #000000;
JSON
{
"hex": "#2a3fb7",
"rgb": {
"r": 42,
"g": 63,
"b": 183
},
"hsl": {
"h": 231.064,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.435,
"c": 0.18945,
"h": 268.9
},
"luminance": 0.07466
}Semantic roles & 50–950 ramp
primary
#2A3FB7
secondary
#C9BC74
accent
#CD42E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82