#2B5FAB#2B5FAB
#2B5FAB is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.1% C 0.134 H 258.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5FAB |
|---|---|
| RGB | rgb(43, 95, 171) |
| HSL | hsl(216, 60%, 42%) |
| HSV | hsv(216, 75%, 67%) |
| CMYK | cmyk(74.9%, 44.4%, 0%, 32.9%) |
| CIE-LAB | lab(40.63, 9.73, -45.73) |
| CIE-LCH | lch(40.63, 46.75, 282.01°) |
| OKLab | oklab(49.11% -0.0275 -0.1309) |
| OKLCH | oklch(49.11% 0.134 258.1) |
| XYZ | xyz(12.4365, 11.6369, 40.1109) |
| Luminance | 0.1164 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.10
Denim Blue
#3B5B92
ΔE00 3.87
Denim (survey)
#3B638C
ΔE00 4.12
Mid Blue
#276AB3
ΔE00 4.27
Light Navy Blue
#2E5A88
ΔE00 4.44
French Blue
#436BAD
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5FAB #AB772B
analogous
#2B9FAB #2B5FAB #372BAB
triadic
#2B5FAB #AB2B5F #5FAB2B
tetradic
#2B5FAB #AB2B9F #AB772B #2BAB37
square
#2B5FAB #AB2B9F #AB772B #2BAB37
split-complementary
#2B5FAB #AB372B #9FAB2B
monochromatic
#122949 #1F447A #2B5FAB #437CD0 #749EDC
Accessibility & contrast
On white
6.31
#2B5FAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#2B5FAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5FAB
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5FAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5FAB | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3966AE
Deuteranopia (green-blind)
#205AA9
Tritanopia (blue-blind)
#00717C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2b5fab; /* rgb */ color: rgb(43, 95, 171); /* oklch */ color: oklch(49.1% 0.134 258.1);
Tailwind
colors: {
custom: {
50: '#768bc4',
500: '#2b5fab',
950: '#000000',
},
}SCSS
$custom: #2b5fab; $custom-light: #768bc4; $custom-dark: #000000;
JSON
{
"hex": "#2b5fab",
"rgb": {
"r": 43,
"g": 95,
"b": 171
},
"hsl": {
"h": 215.625,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.49106,
"c": 0.13379,
"h": 258.1
},
"luminance": 0.11638
}Semantic roles & 50–950 ramp
primary
#2B5FAB
secondary
#C4A16E
accent
#A345E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82