#2B5FB9#2B5FB9
#2B5FB9 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.1% C 0.153 H 260.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5FB9 |
|---|---|
| RGB | rgb(43, 95, 185) |
| HSL | hsl(218, 62%, 45%) |
| HSV | hsv(218, 77%, 73%) |
| CMYK | cmyk(76.8%, 48.6%, 0%, 27.5%) |
| CIE-LAB | lab(41.53, 15.08, -52.51) |
| CIE-LCH | lch(41.53, 54.63, 286.03°) |
| OKLab | oklab(50.09% -0.0251 -0.1509) |
| OKLCH | oklch(50.09% 0.153 260.6) |
| XYZ | xyz(13.8423, 12.1992, 47.5147) |
| Luminance | 0.1220 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.72
Sapphire
#0F52BA
ΔE00 4.30
French Blue
#436BAD
ΔE00 4.41
Mid Blue
#276AB3
ΔE00 4.69
Denim Blue
#3B5B92
ΔE00 5.05
Denim (survey)
#3B638C
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5FB9 #B9852B
analogous
#2BA6B9 #2B5FB9 #3E2BB9
triadic
#2B5FB9 #B92B5F #5FB92B
tetradic
#2B5FB9 #B92BA6 #B9852B #2BB93E
square
#2B5FB9 #B92BA6 #B9852B #2BB93E
split-complementary
#2B5FB9 #B93E2B #A6B92B
monochromatic
#142C56 #1F4687 #2B5FB9 #4C7ED5 #7EA2E1
Accessibility & contrast
On white
6.10
#2B5FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#2B5FB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5FB9
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5FB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5FB9 | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C69BC
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2b5fb9; /* rgb */ color: rgb(43, 95, 185); /* oklch */ color: oklch(50.1% 0.153 260.6);
Tailwind
colors: {
custom: {
50: '#798bcf',
500: '#2b5fb9',
950: '#000000',
},
}SCSS
$custom: #2b5fb9; $custom-light: #798bcf; $custom-dark: #000000;
JSON
{
"hex": "#2b5fb9",
"rgb": {
"r": 43,
"g": 95,
"b": 185
},
"hsl": {
"h": 218.028,
"s": 62.281,
"l": 44.706
},
"oklch": {
"l": 0.50086,
"c": 0.15294,
"h": 260.6
},
"luminance": 0.12201
}Semantic roles & 50–950 ramp
primary
#2B5FB9
secondary
#C9AB76
accent
#AA42E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82