#2B5BCA#2B5BCA
#2B5BCA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.5% C 0.181 H 263.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5BCA |
|---|---|
| RGB | rgb(43, 91, 202) |
| HSL | hsl(222, 65%, 48%) |
| HSV | hsv(222, 79%, 79%) |
| CMYK | cmyk(78.7%, 55%, 0%, 20.8%) |
| CIE-LAB | lab(41.62, 24.17, -62.23) |
| CIE-LCH | lch(41.62, 66.76, 291.23°) |
| OKLab | oklab(50.54% -0.0202 -0.1796) |
| OKLCH | oklch(50.54% 0.181 263.6) |
| XYZ | xyz(15.3942, 12.2582, 57.4204) |
| Luminance | 0.1226 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.90
Denim
#1560BD
ΔE00 4.04
Azul
#1D5DEC
ΔE00 4.17
Warm Blue
#4B57DB
ΔE00 5.42
Royal Blue
#4169E1
ΔE00 5.89
French Blue
#436BAD
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5BCA #CA9A2B
analogous
#2BAACA #2B5BCA #4B2BCA
triadic
#2B5BCA #CA2B5B #5BCA2B
tetradic
#2B5BCA #CA2BAA #CA9A2B #2BCA4B
square
#2B5BCA #CA2BAA #CA9A2B #2BCA4B
split-complementary
#2B5BCA #CA4B2B #AACA2B
monochromatic
#162E65 #204498 #2B5BCA #577FDB #89A5E6
Accessibility & contrast
On white
6.08
#2B5BCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#2B5BCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5BCA
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5BCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5BCA | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2b5bca; /* rgb */ color: rgb(43, 91, 202); /* oklch */ color: oklch(50.5% 0.181 263.6);
Tailwind
colors: {
custom: {
50: '#7d88db',
500: '#2b5bca',
950: '#000000',
},
}SCSS
$custom: #2b5bca; $custom-light: #7d88db; $custom-dark: #000000;
JSON
{
"hex": "#2b5bca",
"rgb": {
"r": 43,
"g": 91,
"b": 202
},
"hsl": {
"h": 221.887,
"s": 64.898,
"l": 48.039
},
"oklch": {
"l": 0.50536,
"c": 0.18069,
"h": 263.6
},
"luminance": 0.1226
}Semantic roles & 50–950 ramp
primary
#2B5BCA
secondary
#D0B881
accent
#B540E8
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0B0B15
muted
#7C7C83