#2B5DB5#2B5DB5
#2B5DB5 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.4% C 0.150 H 260.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5DB5 |
|---|---|
| RGB | rgb(43, 93, 181) |
| HSL | hsl(218, 62%, 44%) |
| HSV | hsv(218, 76%, 71%) |
| CMYK | cmyk(76.2%, 48.6%, 0%, 29%) |
| CIE-LAB | lab(40.70, 14.86, -51.51) |
| CIE-LCH | lch(40.70, 53.61, 286.09°) |
| OKLab | oklab(49.36% -0.0241 -0.148) |
| OKLCH | oklch(49.36% 0.15 260.8) |
| XYZ | xyz(13.2481, 11.6770, 45.2628) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.16
Sapphire
#0F52BA
ΔE00 3.70
Denim Blue
#3B5B92
ΔE00 4.50
French Blue
#436BAD
ΔE00 4.93
Denim (survey)
#3B638C
ΔE00 5.21
Mid Blue
#276AB3
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5DB5 #B5832B
analogous
#2BA2B5 #2B5DB5 #3E2BB5
triadic
#2B5DB5 #B52B5D #5DB52B
tetradic
#2B5DB5 #B52BA2 #B5832B #2BB53E
square
#2B5DB5 #B52BA2 #B5832B #2BB53E
split-complementary
#2B5DB5 #B53E2B #A2B52B
monochromatic
#142A52 #1F4484 #2B5DB5 #497CD4 #7B9FE0
Accessibility & contrast
On white
6.30
#2B5DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#2B5DB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5DB5
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5DB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5DB5 | 1.00 | 6.30 | 3.34 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B67B8
Deuteranopia (green-blind)
#005AB3
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2b5db5; /* rgb */ color: rgb(43, 93, 181); /* oklch */ color: oklch(49.4% 0.150 260.8);
Tailwind
colors: {
custom: {
50: '#788acc',
500: '#2b5db5',
950: '#000000',
},
}SCSS
$custom: #2b5db5; $custom-light: #788acc; $custom-dark: #000000;
JSON
{
"hex": "#2b5db5",
"rgb": {
"r": 43,
"g": 93,
"b": 181
},
"hsl": {
"h": 218.261,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.49362,
"c": 0.14991,
"h": 260.8
},
"luminance": 0.11678
}Semantic roles & 50–950 ramp
primary
#2B5DB5
secondary
#C8A974
accent
#AA43E5
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0B13
muted
#7C7C82