#2786B1#2786B1
#2786B1 is a mid, moderate cyan. Relative luminance 0.207; OKLCH L 58.6% C 0.107 H 232.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2786B1 |
|---|---|
| RGB | rgb(39, 134, 177) |
| HSL | hsl(199, 64%, 42%) |
| HSV | hsv(199, 78%, 69%) |
| CMYK | cmyk(78%, 24.3%, 0%, 30.6%) |
| CIE-LAB | lab(52.57, -12.22, -30.38) |
| CIE-LCH | lch(52.57, 32.75, 248.08°) |
| OKLab | oklab(58.57% -0.0646 -0.0856) |
| OKLCH | oklch(58.57% 0.107 232.9) |
| XYZ | xyz(17.2944, 20.6538, 44.6615) |
| Luminance | 0.2066 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cerulean
#007BA7
ΔE00 4.38
Dirty Blue
#3F829D
ΔE00 4.52
Nice Blue
#107AB0
ΔE00 5.29
Water Blue
#0E87CC
ΔE00 5.46
Steel Blue
#4682B4
ΔE00 5.47
Cool Blue
#4984B8
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2786B1 #B15227
analogous
#27B197 #2786B1 #2741B1
triadic
#2786B1 #B12786 #86B127
tetradic
#2786B1 #9727B1 #B15227 #41B127
square
#2786B1 #9727B1 #B15227 #41B127
split-complementary
#2786B1 #B12741 #B19727
monochromatic
#113A4D #1C607F #2786B1 #40A7D5 #72BEE0
Accessibility & contrast
On white
4.09
#2786B1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#2786B1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2786B1
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2786B1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2786B1 | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7185B3
Deuteranopia (green-blind)
#5E78B0
Tritanopia (blue-blind)
#009195
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #2786b1; /* rgb */ color: rgb(39, 134, 177); /* oklch */ color: oklch(58.6% 0.107 232.9);
Tailwind
colors: {
custom: {
50: '#77a9c8',
500: '#2786b1',
950: '#000000',
},
}SCSS
$custom: #2786b1; $custom-light: #77a9c8; $custom-dark: #000000;
JSON
{
"hex": "#2786b1",
"rgb": {
"r": 39,
"g": 134,
"b": 177
},
"hsl": {
"h": 198.696,
"s": 63.889,
"l": 42.353
},
"oklch": {
"l": 0.58566,
"c": 0.10726,
"h": 232.9
},
"luminance": 0.20656
}Semantic roles & 50–950 ramp
primary
#2786B1
secondary
#C7896D
accent
#7541E7
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82