#2789B2#2789B2
#2789B2 is a mid, moderate cyan. Relative luminance 0.215; OKLCH L 59.3% C 0.107 H 231.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2789B2 |
|---|---|
| RGB | rgb(39, 137, 178) |
| HSL | hsl(198, 64%, 43%) |
| HSV | hsv(198, 78%, 70%) |
| CMYK | cmyk(78.1%, 23%, 0%, 30.2%) |
| CIE-LAB | lab(53.53, -13.55, -29.46) |
| CIE-LCH | lch(53.53, 32.43, 245.29°) |
| OKLab | oklab(59.35% -0.0672 -0.0829) |
| OKLCH | oklch(59.35% 0.107 231) |
| XYZ | xyz(17.8150, 21.5348, 45.3286) |
| Luminance | 0.2154 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.44
Cerulean
#007BA7
ΔE00 5.43
Water Blue
#0E87CC
ΔE00 6.31
Steel Blue
#4682B4
ΔE00 6.41
Nice Blue
#107AB0
ΔE00 6.63
Cool Blue
#4984B8
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2789B2 #B25027
analogous
#27B296 #2789B2 #2743B2
triadic
#2789B2 #B22789 #89B227
tetradic
#2789B2 #9627B2 #B25027 #43B227
square
#2789B2 #9627B2 #B25027 #43B227
split-complementary
#2789B2 #B22743 #B29627
monochromatic
#113C4E #1C6280 #2789B2 #41AAD5 #73C0E0
Accessibility & contrast
On white
3.96
#2789B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#2789B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2789B2
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2789B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2789B2 | 1.00 | 3.96 | 5.31 | 5.31 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7487B4
Deuteranopia (green-blind)
#627AB1
Tritanopia (blue-blind)
#009497
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #2789b2; /* rgb */ color: rgb(39, 137, 178); /* oklch */ color: oklch(59.3% 0.107 231.0);
Tailwind
colors: {
custom: {
50: '#77abc9',
500: '#2789b2',
950: '#000000',
},
}SCSS
$custom: #2789b2; $custom-light: #77abc9; $custom-dark: #000000;
JSON
{
"hex": "#2789b2",
"rgb": {
"r": 39,
"g": 137,
"b": 178
},
"hsl": {
"h": 197.698,
"s": 64.055,
"l": 42.549
},
"oklch": {
"l": 0.59348,
"c": 0.1067,
"h": 231
},
"luminance": 0.21537
}Semantic roles & 50–950 ramp
primary
#2789B2
secondary
#C8886D
accent
#7241E7
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82