#2B5EAB#2B5EAB
#2B5EAB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 48.9% C 0.135 H 258.6°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5EAB |
|---|---|
| RGB | rgb(43, 94, 171) |
| HSL | hsl(216, 60%, 42%) |
| HSV | hsv(216, 75%, 67%) |
| CMYK | cmyk(74.9%, 45%, 0%, 32.9%) |
| CIE-LAB | lab(40.34, 10.38, -46.20) |
| CIE-LCH | lch(40.34, 47.35, 282.66°) |
| OKLab | oklab(48.88% -0.0266 -0.1323) |
| OKLCH | oklch(48.88% 0.135 258.6) |
| XYZ | xyz(12.3470, 11.4579, 40.0811) |
| Luminance | 0.1146 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.25
Denim Blue
#3B5B92
ΔE00 3.71
Denim (survey)
#3B638C
ΔE00 4.26
Light Navy Blue
#2E5A88
ΔE00 4.39
Sapphire
#0F52BA
ΔE00 4.46
Mid Blue
#276AB3
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5EAB #AB782B
analogous
#2B9EAB #2B5EAB #382BAB
triadic
#2B5EAB #AB2B5E #5EAB2B
tetradic
#2B5EAB #AB2B9E #AB782B #2BAB38
square
#2B5EAB #AB2B9E #AB782B #2BAB38
split-complementary
#2B5EAB #AB382B #9EAB2B
monochromatic
#122849 #1F437A #2B5EAB #437BD0 #749EDC
Accessibility & contrast
On white
6.38
#2B5EAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#2B5EAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5EAB
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5EAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5EAB | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3765AE
Deuteranopia (green-blind)
#1D5AA9
Tritanopia (blue-blind)
#00707C
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2b5eab; /* rgb */ color: rgb(43, 94, 171); /* oklch */ color: oklch(48.9% 0.135 258.6);
Tailwind
colors: {
custom: {
50: '#768bc4',
500: '#2b5eab',
950: '#000000',
},
}SCSS
$custom: #2b5eab; $custom-light: #768bc4; $custom-dark: #000000;
JSON
{
"hex": "#2b5eab",
"rgb": {
"r": 43,
"g": 94,
"b": 171
},
"hsl": {
"h": 216.094,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.4888,
"c": 0.13497,
"h": 258.6
},
"luminance": 0.11459
}Semantic roles & 50–950 ramp
primary
#2B5EAB
secondary
#C4A26E
accent
#A445E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82