#2B7FB8#2B7FB8
#2B7FB8 is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.3% C 0.118 H 242.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2B7FB8 |
|---|---|
| RGB | rgb(43, 127, 184) |
| HSL | hsl(204, 62%, 45%) |
| HSV | hsv(204, 77%, 72%) |
| CMYK | cmyk(76.6%, 31%, 0%, 27.8%) |
| CIE-LAB | lab(50.86, -5.20, -37.07) |
| CIE-LCH | lch(50.86, 37.43, 262.01°) |
| OKLab | oklab(57.35% -0.0537 -0.105) |
| OKLCH | oklch(57.35% 0.118 242.9) |
| XYZ | xyz(17.2340, 19.1510, 48.1263) |
| Luminance | 0.1915 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.69
Nice Blue
#107AB0
ΔE00 2.84
Cerulean (survey)
#0485D1
ΔE00 3.33
Cool Blue
#4984B8
ΔE00 3.42
Water Blue
#0E87CC
ΔE00 3.43
Bluish
#2976BB
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B7FB8 #B8642B
analogous
#2BB8AB #2B7FB8 #2B39B8
triadic
#2B7FB8 #B82B7F #7FB82B
tetradic
#2B7FB8 #AB2BB8 #B8642B #39B82B
square
#2B7FB8 #AB2BB8 #B8642B #39B82B
split-complementary
#2B7FB8 #B82B39 #B8AB2B
monochromatic
#143B55 #1F5D86 #2B7FB8 #4B9DD5 #7DB8E1
Accessibility & contrast
On white
4.35
#2B7FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#2B7FB8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2B7FB8
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B7FB8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2B7FB8 | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6580BA
Deuteranopia (green-blind)
#5173B7
Tritanopia (blue-blind)
#008D93
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2b7fb8; /* rgb */ color: rgb(43, 127, 184); /* oklch */ color: oklch(57.3% 0.118 242.9);
Tailwind
colors: {
custom: {
50: '#79a3cd',
500: '#2b7fb8',
950: '#000000',
},
}SCSS
$custom: #2b7fb8; $custom-light: #79a3cd; $custom-dark: #000000;
JSON
{
"hex": "#2b7fb8",
"rgb": {
"r": 43,
"g": 127,
"b": 184
},
"hsl": {
"h": 204.255,
"s": 62.115,
"l": 44.51
},
"oklch": {
"l": 0.57346,
"c": 0.11799,
"h": 242.9
},
"luminance": 0.19153
}Semantic roles & 50–950 ramp
primary
#2B7FB8
secondary
#C99776
accent
#8443E5
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82