#2B5FAE#2B5FAE
#2B5FAE is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.3% C 0.138 H 258.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5FAE |
|---|---|
| RGB | rgb(43, 95, 174) |
| HSL | hsl(216, 60%, 43%) |
| HSV | hsv(216, 75%, 68%) |
| CMYK | cmyk(75.3%, 45.4%, 0%, 31.8%) |
| CIE-LAB | lab(40.82, 10.88, -47.20) |
| CIE-LCH | lch(40.82, 48.44, 282.98°) |
| OKLab | oklab(49.31% -0.0269 -0.1352) |
| OKLCH | oklch(49.31% 0.138 258.7) |
| XYZ | xyz(12.7257, 11.7526, 41.6340) |
| Luminance | 0.1175 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.89
Denim Blue
#3B5B92
ΔE00 4.07
Mid Blue
#276AB3
ΔE00 4.31
Denim (survey)
#3B638C
ΔE00 4.37
French Blue
#436BAD
ΔE00 4.40
Sapphire
#0F52BA
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5FAE #AE7A2B
analogous
#2BA1AE #2B5FAE #382BAE
triadic
#2B5FAE #AE2B5F #5FAE2B
tetradic
#2B5FAE #AE2BA1 #AE7A2B #2BAE38
square
#2B5FAE #AE2BA1 #AE7A2B #2BAE38
split-complementary
#2B5FAE #AE382B #A1AE2B
monochromatic
#13294C #1F447D #2B5FAE #457DD1 #769FDD
Accessibility & contrast
On white
6.27
#2B5FAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#2B5FAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5FAE
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5FAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5FAE | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3667B1
Deuteranopia (green-blind)
#1B5BAC
Tritanopia (blue-blind)
#00727E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2b5fae; /* rgb */ color: rgb(43, 95, 174); /* oklch */ color: oklch(49.3% 0.138 258.7);
Tailwind
colors: {
custom: {
50: '#778bc7',
500: '#2b5fae',
950: '#000000',
},
}SCSS
$custom: #2b5fae; $custom-light: #778bc7; $custom-dark: #000000;
JSON
{
"hex": "#2b5fae",
"rgb": {
"r": 43,
"g": 95,
"b": 174
},
"hsl": {
"h": 216.183,
"s": 60.369,
"l": 42.549
},
"oklch": {
"l": 0.49311,
"c": 0.13791,
"h": 258.7
},
"luminance": 0.11754
}Semantic roles & 50–950 ramp
primary
#2B5FAE
secondary
#C5A370
accent
#A444E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82