#2B5FB6#2B5FB6
#2B5FB6 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 49.9% C 0.149 H 260.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5FB6 |
|---|---|
| RGB | rgb(43, 95, 182) |
| HSL | hsl(218, 62%, 44%) |
| HSV | hsv(218, 76%, 71%) |
| CMYK | cmyk(76.4%, 47.8%, 0%, 28.6%) |
| CIE-LAB | lab(41.33, 13.94, -51.07) |
| CIE-LCH | lch(41.33, 52.94, 285.26°) |
| OKLab | oklab(49.87% -0.0256 -0.1466) |
| OKLCH | oklch(49.87% 0.149 260.1) |
| XYZ | xyz(13.5289, 12.0739, 45.8644) |
| Luminance | 0.1207 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.65
Sapphire
#0F52BA
ΔE00 4.34
French Blue
#436BAD
ΔE00 4.36
Mid Blue
#276AB3
ΔE00 4.56
Denim Blue
#3B5B92
ΔE00 4.76
Denim (survey)
#3B638C
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5FB6 #B6822B
analogous
#2BA5B6 #2B5FB6 #3D2BB6
triadic
#2B5FB6 #B62B5F #5FB62B
tetradic
#2B5FB6 #B62BA5 #B6822B #2BB63D
square
#2B5FB6 #B62BA5 #B6822B #2BB63D
split-complementary
#2B5FB6 #B63D2B #A5B62B
monochromatic
#142B53 #1F4584 #2B5FB6 #4A7ED4 #7BA1E0
Accessibility & contrast
On white
6.15
#2B5FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#2B5FB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5FB6
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5FB6 | 1.00 | 6.15 | 3.42 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F68B9
Deuteranopia (green-blind)
#025CB4
Tritanopia (blue-blind)
#007482
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2b5fb6; /* rgb */ color: rgb(43, 95, 182); /* oklch */ color: oklch(49.9% 0.149 260.1);
Tailwind
colors: {
custom: {
50: '#788bcc',
500: '#2b5fb6',
950: '#000000',
},
}SCSS
$custom: #2b5fb6; $custom-light: #788bcc; $custom-dark: #000000;
JSON
{
"hex": "#2b5fb6",
"rgb": {
"r": 43,
"g": 95,
"b": 182
},
"hsl": {
"h": 217.554,
"s": 61.778,
"l": 44.118
},
"oklch": {
"l": 0.49871,
"c": 0.14886,
"h": 260.1
},
"luminance": 0.12075
}Semantic roles & 50–950 ramp
primary
#2B5FB6
secondary
#C8A975
accent
#A843E5
background
#F7F8FC
surface
#EEF0F9
border
#C9CBD2
text
#0A0C13
muted
#7C7D82