#2B5CC7#2B5CC7
#2B5CC7 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.5% C 0.175 H 263.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5CC7 |
|---|---|
| RGB | rgb(43, 92, 199) |
| HSL | hsl(221, 64%, 47%) |
| HSV | hsv(221, 78%, 78%) |
| CMYK | cmyk(78.4%, 53.8%, 0%, 22%) |
| CIE-LAB | lab(41.67, 22.38, -60.42) |
| CIE-LCH | lch(41.67, 64.43, 290.33°) |
| OKLab | oklab(50.5% -0.0211 -0.1742) |
| OKLCH | oklch(50.5% 0.175 263.1) |
| XYZ | xyz(15.1285, 12.2896, 55.5966) |
| Luminance | 0.1229 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.50
Sapphire
#0F52BA
ΔE00 3.86
Azul
#1D5DEC
ΔE00 4.53
French Blue
#436BAD
ΔE00 5.87
Warm Blue
#4B57DB
ΔE00 5.93
Royal Blue
#4169E1
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5CC7 #C7962B
analogous
#2BAAC7 #2B5CC7 #482BC7
triadic
#2B5CC7 #C72B5C #5CC72B
tetradic
#2B5CC7 #C72BAA #C7962B #2BC748
square
#2B5CC7 #C72BAA #C7962B #2BC748
split-complementary
#2B5CC7 #C7482B #AAC72B
monochromatic
#152D62 #204595 #2B5CC7 #557FDA #87A5E5
Accessibility & contrast
On white
6.07
#2B5CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#2B5CC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5CC7
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5CC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5CC7 | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACB
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2b5cc7; /* rgb */ color: rgb(43, 92, 199); /* oklch */ color: oklch(50.5% 0.175 263.1);
Tailwind
colors: {
custom: {
50: '#7c89d9',
500: '#2b5cc7',
950: '#000000',
},
}SCSS
$custom: #2b5cc7; $custom-light: #7c89d9; $custom-dark: #000000;
JSON
{
"hex": "#2b5cc7",
"rgb": {
"r": 43,
"g": 92,
"b": 199
},
"hsl": {
"h": 221.154,
"s": 64.463,
"l": 47.451
},
"oklch": {
"l": 0.50503,
"c": 0.17549,
"h": 263.1
},
"luminance": 0.12291
}Semantic roles & 50–950 ramp
primary
#2B5CC7
secondary
#CFB67F
accent
#B340E7
background
#F8F8FD
surface
#EFF0FB
border
#CACBD4
text
#0B0B15
muted
#7C7C83