#2B5FB2#2B5FB2
#2B5FB2 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.6% C 0.143 H 259.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5FB2 |
|---|---|
| RGB | rgb(43, 95, 178) |
| HSL | hsl(217, 61%, 43%) |
| HSV | hsv(217, 76%, 70%) |
| CMYK | cmyk(75.8%, 46.6%, 0%, 30.2%) |
| CIE-LAB | lab(41.07, 12.41, -49.14) |
| CIE-LCH | lch(41.07, 50.69, 284.17°) |
| OKLab | oklab(49.59% -0.0262 -0.141) |
| OKLCH | oklch(49.59% 0.143 259.5) |
| XYZ | xyz(13.1214, 11.9109, 43.7183) |
| Luminance | 0.1191 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.70
French Blue
#436BAD
ΔE00 4.35
Denim Blue
#3B5B92
ΔE00 4.40
Mid Blue
#276AB3
ΔE00 4.41
Sapphire
#0F52BA
ΔE00 4.45
Denim (survey)
#3B638C
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5FB2 #B27E2B
analogous
#2BA2B2 #2B5FB2 #3A2BB2
triadic
#2B5FB2 #B22B5F #5FB22B
tetradic
#2B5FB2 #B22BA2 #B27E2B #2BB23A
square
#2B5FB2 #B22BA2 #B27E2B #2BB23A
split-complementary
#2B5FB2 #B23A2B #A2B22B
monochromatic
#132A4F #1F4581 #2B5FB2 #487DD3 #79A0DF
Accessibility & contrast
On white
6.21
#2B5FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#2B5FB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5FB2
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5FB2 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3367B5
Deuteranopia (green-blind)
#125BB0
Tritanopia (blue-blind)
#007380
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2b5fb2; /* rgb */ color: rgb(43, 95, 178); /* oklch */ color: oklch(49.6% 0.143 259.5);
Tailwind
colors: {
custom: {
50: '#778bc9',
500: '#2b5fb2',
950: '#000000',
},
}SCSS
$custom: #2b5fb2; $custom-light: #778bc9; $custom-dark: #000000;
JSON
{
"hex": "#2b5fb2",
"rgb": {
"r": 43,
"g": 95,
"b": 178
},
"hsl": {
"h": 216.889,
"s": 61.086,
"l": 43.333
},
"oklch": {
"l": 0.49588,
"c": 0.14339,
"h": 259.5
},
"luminance": 0.11912
}Semantic roles & 50–950 ramp
primary
#2B5FB2
secondary
#C7A672
accent
#A644E4
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82