#2B5DB4#2B5DB4
#2B5DB4 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.3% C 0.149 H 260.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5DB4 |
|---|---|
| RGB | rgb(43, 93, 180) |
| HSL | hsl(218, 61%, 44%) |
| HSV | hsv(218, 76%, 71%) |
| CMYK | cmyk(76.1%, 48.3%, 0%, 29.4%) |
| CIE-LAB | lab(40.63, 14.47, -51.03) |
| CIE-LCH | lch(40.63, 53.04, 285.83°) |
| OKLab | oklab(49.29% -0.0242 -0.1466) |
| OKLCH | oklch(49.29% 0.149 260.6) |
| XYZ | xyz(13.1459, 11.6361, 44.7243) |
| Luminance | 0.1164 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.16
Sapphire
#0F52BA
ΔE00 3.72
Denim Blue
#3B5B92
ΔE00 4.39
French Blue
#436BAD
ΔE00 4.93
Denim (survey)
#3B638C
ΔE00 5.13
Mid Blue
#276AB3
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5DB4 #B4822B
analogous
#2BA1B4 #2B5DB4 #3D2BB4
triadic
#2B5DB4 #B42B5D #5DB42B
tetradic
#2B5DB4 #B42BA1 #B4822B #2BB43D
square
#2B5DB4 #B42BA1 #B4822B #2BB43D
split-complementary
#2B5DB4 #B43D2B #A1B42B
monochromatic
#132A51 #1F4383 #2B5DB4 #497BD3 #7A9FDF
Accessibility & contrast
On white
6.31
#2B5DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#2B5DB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5DB4
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5DB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5DB4 | 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)
#2C66B7
Deuteranopia (green-blind)
#005AB2
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2b5db4; /* rgb */ color: rgb(43, 93, 180); /* oklch */ color: oklch(49.3% 0.149 260.6);
Tailwind
colors: {
custom: {
50: '#788acb',
500: '#2b5db4',
950: '#000000',
},
}SCSS
$custom: #2b5db4; $custom-light: #788acb; $custom-dark: #000000;
JSON
{
"hex": "#2b5db4",
"rgb": {
"r": 43,
"g": 93,
"b": 180
},
"hsl": {
"h": 218.102,
"s": 61.435,
"l": 43.725
},
"oklch": {
"l": 0.4929,
"c": 0.14855,
"h": 260.6
},
"luminance": 0.11638
}Semantic roles & 50–950 ramp
primary
#2B5DB4
secondary
#C7A973
accent
#AA43E5
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82