#2B7EC4#2B7EC4
#2B7EC4 is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 57.8% C 0.133 H 248.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2B7EC4 |
|---|---|
| RGB | rgb(43, 126, 196) |
| HSL | hsl(207, 64%, 47%) |
| HSV | hsv(207, 78%, 77%) |
| CMYK | cmyk(78.1%, 35.7%, 0%, 23.1%) |
| CIE-LAB | lab(51.17, -0.21, -43.46) |
| CIE-LCH | lch(51.17, 43.46, 269.73°) |
| OKLab | oklab(57.79% -0.0493 -0.1237) |
| OKLCH | oklch(57.79% 0.133 248.3) |
| XYZ | xyz(18.4171, 19.4186, 54.9914) |
| Luminance | 0.1942 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.85
Windows Blue
#3778BF
ΔE00 2.93
Bluish
#2976BB
ΔE00 3.08
Cerulean (survey)
#0485D1
ΔE00 3.17
Cool Blue
#4984B8
ΔE00 3.18
Water Blue
#0E87CC
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B7EC4 #C4712B
analogous
#2BC4BE #2B7EC4 #2B31C4
triadic
#2B7EC4 #C42B7E #7EC42B
tetradic
#2B7EC4 #BE2BC4 #C4712B #31C42B
square
#2B7EC4 #BE2BC4 #C4712B #31C42B
split-complementary
#2B7EC4 #C42B31 #C4BE2B
monochromatic
#153D60 #205E92 #2B7EC4 #539CD9 #85B9E4
Accessibility & contrast
On white
4.30
#2B7EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#2B7EC4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2B7EC4
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B7EC4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2B7EC4 | 1.00 | 4.30 | 4.88 | 4.88 |
| #FFFFFF | 4.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D82C7
Deuteranopia (green-blind)
#4774C3
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #2b7ec4; /* rgb */ color: rgb(43, 126, 196); /* oklch */ color: oklch(57.8% 0.133 248.3);
Tailwind
colors: {
custom: {
50: '#7ba3d6',
500: '#2b7ec4',
950: '#000000',
},
}SCSS
$custom: #2b7ec4; $custom-light: #7ba3d6; $custom-dark: #000000;
JSON
{
"hex": "#2b7ec4",
"rgb": {
"r": 43,
"g": 126,
"b": 196
},
"hsl": {
"h": 207.451,
"s": 64.017,
"l": 46.863
},
"oklch": {
"l": 0.57789,
"c": 0.1332,
"h": 248.3
},
"luminance": 0.19421
}Semantic roles & 50–950 ramp
primary
#2B7EC4
secondary
#CEA27D
accent
#8D41E7
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83