#2B3F9B#2B3F9B
#2B3F9B is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.151 H 269.2°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3F9B |
|---|---|
| RGB | rgb(43, 63, 155) |
| HSL | hsl(229, 57%, 39%) |
| HSV | hsv(229, 72%, 61%) |
| CMYK | cmyk(72.3%, 59.4%, 0%, 39.2%) |
| CIE-LAB | lab(30.48, 24.88, -52.54) |
| CIE-LCH | lch(30.48, 58.13, 295.34°) |
| OKLab | oklab(41.03% -0.002 -0.1515) |
| OKLCH | oklch(41.03% 0.152 269.2) |
| XYZ | xyz(8.6881, 6.4343, 31.7881) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.35
Blueberry
#464196
ΔE00 4.37
Cobalt
#0047AB
ΔE00 4.56
Cobalt (survey)
#1E488F
ΔE00 5.13
Darkslateblue
#483D8B
ΔE00 5.98
Blue Blue
#2242C7
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3F9B #9B872B
analogous
#2B779B #2B3F9B #4F2B9B
triadic
#2B3F9B #9B2B3F #3F9B2B
tetradic
#2B3F9B #9B2B77 #9B872B #2B9B4F
square
#2B3F9B #9B2B77 #9B872B #2B9B4F
split-complementary
#2B3F9B #9B4F2B #779B2B
monochromatic
#10183B #1E2C6B #2B3F9B #3B54C9 #6B7ED6
Accessibility & contrast
On white
9.18
#2B3F9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2B3F9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3F9B
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3F9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3F9B | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#004399
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2b3f9b; /* rgb */ color: rgb(43, 63, 155); /* oklch */ color: oklch(41.0% 0.151 269.2);
Tailwind
colors: {
custom: {
50: '#7473b9',
500: '#2b3f9b',
950: '#000000',
},
}SCSS
$custom: #2b3f9b; $custom-light: #7473b9; $custom-dark: #000000;
JSON
{
"hex": "#2b3f9b",
"rgb": {
"r": 43,
"g": 63,
"b": 155
},
"hsl": {
"h": 229.286,
"s": 56.566,
"l": 38.824
},
"oklch": {
"l": 0.41025,
"c": 0.1515,
"h": 269.2
},
"luminance": 0.06435
}Semantic roles & 50–950 ramp
primary
#2B3F9B
secondary
#BCAD65
accent
#C548E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81