#2B50AB#2B50AB
#2B50AB is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.8% C 0.152 H 264.5°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2B50AB |
|---|---|
| RGB | rgb(43, 80, 171) |
| HSL | hsl(223, 60%, 42%) |
| HSV | hsv(223, 75%, 67%) |
| CMYK | cmyk(74.9%, 53.2%, 0%, 32.9%) |
| CIE-LAB | lab(36.35, 19.59, -52.63) |
| CIE-LCH | lch(36.35, 56.16, 290.42°) |
| OKLab | oklab(45.82% -0.0147 -0.1515) |
| OKLCH | oklch(45.82% 0.152 264.5) |
| XYZ | xyz(11.2130, 9.1900, 39.7031) |
| Luminance | 0.0919 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.48
Cobalt
#0047AB
ΔE00 3.26
Cobalt (survey)
#1E488F
ΔE00 4.60
Dusk Blue
#26538D
ΔE00 4.85
Denim Blue
#3B5B92
ΔE00 5.09
Light Navy Blue
#2E5A88
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B50AB #AB862B
analogous
#2B90AB #2B50AB #462BAB
triadic
#2B50AB #AB2B50 #50AB2B
tetradic
#2B50AB #AB2B90 #AB862B #2BAB46
square
#2B50AB #AB2B90 #AB862B #2BAB46
split-complementary
#2B50AB #AB462B #90AB2B
monochromatic
#122249 #1F397A #2B50AB #436CD0 #7492DC
Accessibility & contrast
On white
7.40
#2B50AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#2B50AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B50AB
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B50AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B50AB | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F5CAE
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2b50ab; /* rgb */ color: rgb(43, 80, 171); /* oklch */ color: oklch(45.8% 0.152 264.5);
Tailwind
colors: {
custom: {
50: '#7780c5',
500: '#2b50ab',
950: '#000000',
},
}SCSS
$custom: #2b50ab; $custom-light: #7780c5; $custom-dark: #000000;
JSON
{
"hex": "#2b50ab",
"rgb": {
"r": 43,
"g": 80,
"b": 171
},
"hsl": {
"h": 222.656,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.45823,
"c": 0.15222,
"h": 264.5
},
"luminance": 0.09191
}Semantic roles & 50–950 ramp
primary
#2B50AB
secondary
#C4AB6E
accent
#B545E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82