#2B5EA8#2B5EA8
#2B5EA8 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.7% C 0.131 H 258.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5EA8 |
|---|---|
| RGB | rgb(43, 94, 168) |
| HSL | hsl(216, 59%, 41%) |
| HSV | hsv(216, 74%, 66%) |
| CMYK | cmyk(74.4%, 44%, 0%, 34.1%) |
| CIE-LAB | lab(40.16, 9.23, -44.72) |
| CIE-LCH | lch(40.16, 45.66, 281.66°) |
| OKLab | oklab(48.68% -0.0272 -0.128) |
| OKLCH | oklch(48.68% 0.131 258) |
| XYZ | xyz(12.0643, 11.3448, 38.5921) |
| Luminance | 0.1135 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.47
Denim Blue
#3B5B92
ΔE00 3.51
Denim (survey)
#3B638C
ΔE00 4.03
Light Navy Blue
#2E5A88
ΔE00 4.06
Mid Blue
#276AB3
ΔE00 4.63
Sapphire
#0F52BA
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5EA8 #A8752B
analogous
#2B9DA8 #2B5EA8 #372BA8
triadic
#2B5EA8 #A82B5E #5EA82B
tetradic
#2B5EA8 #A82B9D #A8752B #2BA837
square
#2B5EA8 #A82B9D #A8752B #2BA837
split-complementary
#2B5EA8 #A8372B #9DA82B
monochromatic
#122747 #1F4377 #2B5EA8 #427BCF #729DDB
Accessibility & contrast
On white
6.42
#2B5EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#2B5EA8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5EA8
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5EA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5EA8 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3965AB
Deuteranopia (green-blind)
#2259A7
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2b5ea8; /* rgb */ color: rgb(43, 94, 168); /* oklch */ color: oklch(48.7% 0.131 258.0);
Tailwind
colors: {
custom: {
50: '#758bc2',
500: '#2b5ea8',
950: '#000000',
},
}SCSS
$custom: #2b5ea8; $custom-light: #758bc2; $custom-dark: #000000;
JSON
{
"hex": "#2b5ea8",
"rgb": {
"r": 43,
"g": 94,
"b": 168
},
"hsl": {
"h": 215.52,
"s": 59.242,
"l": 41.373
},
"oklch": {
"l": 0.48677,
"c": 0.13084,
"h": 258
},
"luminance": 0.11346
}Semantic roles & 50–950 ramp
primary
#2B5EA8
secondary
#C29F6C
accent
#A245E2
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81