#2B5CC8#2B5CC8
#2B5CC8 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.6% C 0.177 H 263.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2B5CC8 |
|---|---|
| RGB | rgb(43, 92, 200) |
| HSL | hsl(221, 65%, 48%) |
| HSV | hsv(221, 79%, 78%) |
| CMYK | cmyk(78.5%, 54%, 0%, 21.6%) |
| CIE-LAB | lab(41.75, 22.76, -60.88) |
| CIE-LCH | lch(41.75, 65.00, 290.50°) |
| OKLab | oklab(50.58% -0.0211 -0.1756) |
| OKLCH | oklch(50.58% 0.177 263.2) |
| XYZ | xyz(15.2450, 12.3362, 56.2100) |
| Luminance | 0.1234 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.60
Sapphire
#0F52BA
ΔE00 3.93
Azul
#1D5DEC
ΔE00 4.40
Warm Blue
#4B57DB
ΔE00 5.82
Royal Blue
#4169E1
ΔE00 5.85
French Blue
#436BAD
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B5CC8 #C8972B
analogous
#2BAAC8 #2B5CC8 #492BC8
triadic
#2B5CC8 #C82B5C #5CC82B
tetradic
#2B5CC8 #C82BAA #C8972B #2BC849
square
#2B5CC8 #C82BAA #C8972B #2BC849
split-complementary
#2B5CC8 #C8492B #AAC82B
monochromatic
#152E63 #204596 #2B5CC8 #567FDB #88A5E5
Accessibility & contrast
On white
6.06
#2B5CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#2B5CC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B5CC8
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B5CC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B5CC8 | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#005CC6
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2b5cc8; /* rgb */ color: rgb(43, 92, 200); /* oklch */ color: oklch(50.6% 0.177 263.2);
Tailwind
colors: {
custom: {
50: '#7d89d9',
500: '#2b5cc8',
950: '#000000',
},
}SCSS
$custom: #2b5cc8; $custom-light: #7d89d9; $custom-dark: #000000;
JSON
{
"hex": "#2b5cc8",
"rgb": {
"r": 43,
"g": 92,
"b": 200
},
"hsl": {
"h": 221.274,
"s": 64.609,
"l": 47.647
},
"oklch": {
"l": 0.50582,
"c": 0.17682,
"h": 263.2
},
"luminance": 0.12338
}Semantic roles & 50–950 ramp
primary
#2B5CC8
secondary
#CFB680
accent
#B340E8
background
#F8F8FD
surface
#EFF0FB
border
#CACBD4
text
#0B0B15
muted
#7C7C83