#2B5DCC#2B5DCC
#2B5DCC is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.181 H 263.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5DCC |
|---|---|
| RGB | rgb(43, 93, 204) |
| HSL | hsl(221, 65%, 48%) |
| HSV | hsv(221, 79%, 80%) |
| CMYK | cmyk(78.9%, 54.4%, 0%, 20%) |
| CIE-LAB | lab(42.31, 23.63, -62.28) |
| CIE-LCH | lch(42.31, 66.61, 290.78°) |
| OKLab | oklab(51.1% -0.0214 -0.1796) |
| OKLCH | oklch(51.1% 0.181 263.2) |
| XYZ | xyz(15.8058, 12.7001, 58.7334) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.77
Azul
#1D5DEC
ΔE00 3.88
Sapphire
#0F52BA
ΔE00 4.46
Royal Blue
#4169E1
ΔE00 5.30
Warm Blue
#4B57DB
ΔE00 5.60
French Blue
#436BAD
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5DCC #CC9A2B
analogous
#2BADCC #2B5DCC #492BCC
triadic
#2B5DCC #CC2B5D #5DCC2B
tetradic
#2B5DCC #CC2BAD #CC9A2B #2BCC49
square
#2B5DCC #CC2BAD #CC9A2B #2BCC49
split-complementary
#2B5DCC #CC492B #ADCC2B
monochromatic
#162F67 #204699 #2B5DCC #5881DC #8BA7E7
Accessibility & contrast
On white
5.93
#2B5DCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#2B5DCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5DCC
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5DCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5DCC | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2b5dcc; /* rgb */ color: rgb(43, 93, 204); /* oklch */ color: oklch(51.1% 0.181 263.2);
Tailwind
colors: {
custom: {
50: '#7d8adc',
500: '#2b5dcc',
950: '#000000',
},
}SCSS
$custom: #2b5dcc; $custom-light: #7d8adc; $custom-dark: #000000;
JSON
{
"hex": "#2b5dcc",
"rgb": {
"r": 43,
"g": 93,
"b": 204
},
"hsl": {
"h": 221.366,
"s": 65.182,
"l": 48.431
},
"oklch": {
"l": 0.511,
"c": 0.18092,
"h": 263.2
},
"luminance": 0.12702
}Semantic roles & 50–950 ramp
primary
#2B5DCC
secondary
#D0B882
accent
#B440E8
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0B0B15
muted
#7C7C83