#2B3F96#2B3F96
#2B3F96 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.144 H 269.2°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3F96 |
|---|---|
| RGB | rgb(43, 63, 150) |
| HSL | hsl(229, 55%, 38%) |
| HSV | hsv(229, 71%, 59%) |
| CMYK | cmyk(71.3%, 58%, 0%, 41.2%) |
| CIE-LAB | lab(30.08, 22.99, -50.14) |
| CIE-LCH | lch(30.08, 55.16, 294.63°) |
| OKLab | oklab(40.6% -0.0021 -0.1444) |
| OKLCH | oklch(40.6% 0.144 269.2) |
| XYZ | xyz(8.2769, 6.2698, 29.6222) |
| Luminance | 0.0627 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.01
Blueberry
#464196
ΔE00 4.42
Cobalt (survey)
#1E488F
ΔE00 4.76
Cobalt
#0047AB
ΔE00 4.79
Darkslateblue
#483D8B
ΔE00 5.83
Darkish Blue
#014182
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3F96 #96822B
analogous
#2B7496 #2B3F96 #4C2B96
triadic
#2B3F96 #962B3F #3F962B
tetradic
#2B3F96 #962B74 #96822B #2B964C
square
#2B3F96 #962B74 #96822B #2B964C
split-complementary
#2B3F96 #964C2B #74962B
monochromatic
#101737 #1D2B66 #2B3F96 #3953C6 #687CD4
Accessibility & contrast
On white
9.32
#2B3F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2B3F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3F96
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3F96 | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#004294
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2b3f96; /* rgb */ color: rgb(43, 63, 150); /* oklch */ color: oklch(40.6% 0.144 269.2);
Tailwind
colors: {
custom: {
50: '#7373b6',
500: '#2b3f96',
950: '#000000',
},
}SCSS
$custom: #2b3f96; $custom-light: #7373b6; $custom-dark: #000000;
JSON
{
"hex": "#2b3f96",
"rgb": {
"r": 43,
"g": 63,
"b": 150
},
"hsl": {
"h": 228.785,
"s": 55.44,
"l": 37.843
},
"oklch": {
"l": 0.40601,
"c": 0.14447,
"h": 269.2
},
"luminance": 0.06271
}Semantic roles & 50–950 ramp
primary
#2B3F96
secondary
#BAAA63
accent
#C349DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80