#2B5CAB#2B5CAB
#2B5CAB is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.4% C 0.137 H 259.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5CAB |
|---|---|
| RGB | rgb(43, 92, 171) |
| HSL | hsl(217, 60%, 42%) |
| HSV | hsv(217, 75%, 67%) |
| CMYK | cmyk(74.9%, 46.2%, 0%, 32.9%) |
| CIE-LAB | lab(39.76, 11.68, -47.13) |
| CIE-LCH | lch(39.76, 48.55, 283.92°) |
| OKLab | oklab(48.43% -0.0248 -0.1351) |
| OKLCH | oklch(48.43% 0.137 259.6) |
| XYZ | xyz(12.1714, 11.1068, 40.0225) |
| Luminance | 0.1111 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.68
Denim Blue
#3B5B92
ΔE00 3.49
Sapphire
#0F52BA
ΔE00 3.84
Light Navy Blue
#2E5A88
ΔE00 4.37
Dusk Blue
#26538D
ΔE00 4.58
Denim (survey)
#3B638C
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5CAB #AB7A2B
analogous
#2B9CAB #2B5CAB #3A2BAB
triadic
#2B5CAB #AB2B5C #5CAB2B
tetradic
#2B5CAB #AB2B9C #AB7A2B #2BAB3A
square
#2B5CAB #AB2B9C #AB7A2B #2BAB3A
split-complementary
#2B5CAB #AB3A2B #9CAB2B
monochromatic
#122749 #1F427A #2B5CAB #4379D0 #749CDC
Accessibility & contrast
On white
6.52
#2B5CAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#2B5CAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5CAB
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5CAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5CAB | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3364AE
Deuteranopia (green-blind)
#1658A9
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #2b5cab; /* rgb */ color: rgb(43, 92, 171); /* oklch */ color: oklch(48.4% 0.137 259.6);
Tailwind
colors: {
custom: {
50: '#7689c4',
500: '#2b5cab',
950: '#000000',
},
}SCSS
$custom: #2b5cab; $custom-light: #7689c4; $custom-dark: #000000;
JSON
{
"hex": "#2b5cab",
"rgb": {
"r": 43,
"g": 92,
"b": 171
},
"hsl": {
"h": 217.031,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.48432,
"c": 0.13737,
"h": 259.6
},
"luminance": 0.11108
}Semantic roles & 50–950 ramp
primary
#2B5CAB
secondary
#C4A36E
accent
#A645E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82