#2B3FA4#2B3FA4
#2B3FA4 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.8% C 0.164 H 269.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3FA4 |
|---|---|
| RGB | rgb(43, 63, 164) |
| HSL | hsl(230, 58%, 41%) |
| HSV | hsv(230, 74%, 64%) |
| CMYK | cmyk(73.8%, 61.6%, 0%, 35.7%) |
| CIE-LAB | lab(31.23, 28.25, -56.77) |
| CIE-LCH | lch(31.23, 63.41, 296.46°) |
| OKLab | oklab(41.81% -0.002 -0.1639) |
| OKLCH | oklch(41.81% 0.164 269.3) |
| XYZ | xyz(9.4723, 6.7480, 35.9180) |
| Luminance | 0.0675 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.40
Cobalt
#0047AB
ΔE00 4.45
Blueberry
#464196
ΔE00 4.61
Blue Blue
#2242C7
ΔE00 4.72
Ocean Blue
#4F42B5
ΔE00 5.77
Cobalt (survey)
#1E488F
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3FA4 #A4902B
analogous
#2B7BA4 #2B3FA4 #542BA4
triadic
#2B3FA4 #A42B3F #3FA42B
tetradic
#2B3FA4 #A42B7B #A4902B #2BA454
square
#2B3FA4 #A42B7B #A4902B #2BA454
split-complementary
#2B3FA4 #A4542B #7BA42B
monochromatic
#121A43 #1E2C74 #2B3FA4 #3F57CD #7081D9
Accessibility & contrast
On white
8.94
#2B3FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2B3FA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3FA4
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3FA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3FA4 | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#0044A2
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2b3fa4; /* rgb */ color: rgb(43, 63, 164); /* oklch */ color: oklch(41.8% 0.164 269.3);
Tailwind
colors: {
custom: {
50: '#7673c0',
500: '#2b3fa4',
950: '#000000',
},
}SCSS
$custom: #2b3fa4; $custom-light: #7673c0; $custom-dark: #000000;
JSON
{
"hex": "#2b3fa4",
"rgb": {
"r": 43,
"g": 63,
"b": 164
},
"hsl": {
"h": 230.083,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.41809,
"c": 0.16393,
"h": 269.3
},
"luminance": 0.06749
}Semantic roles & 50–950 ramp
primary
#2B3FA4
secondary
#C1B26A
accent
#C846E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81