#2789AB#2789AB

#2789AB is a mid, moderate cyan. Relative luminance 0.213; OKLCH L 59.0% C 0.101 H 226.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2789AB
RGBrgb(39, 137, 171)
HSLhsl(195, 63%, 41%)
HSVhsv(195, 77%, 67%)
CMYKcmyk(77.2%, 19.9%, 0%, 32.9%)
CIE-LABlab(53.23, -15.99, -25.90)
CIE-LCHlch(53.23, 30.44, 238.30°)
OKLaboklab(59.01% -0.0698 -0.0727)
OKLCHoklch(59.01% 0.101 226.2)
XYZxyz(17.1300, 21.2609, 41.7211)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2789AB #AB4927
analogous
#27AB8B #2789AB #2747AB
triadic
#2789AB #AB2789 #89AB27
tetradic
#2789AB #8B27AB #AB4927 #47AB27
square
#2789AB #8B27AB #AB4927 #47AB27
split-complementary
#2789AB #AB2747 #AB8B27
monochromatic
#103947 #1C6179 #2789AB #3DACD3 #6EC1DE

Accessibility & contrast

On white

4.00
#2789AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#2789AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2789AB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2789AB#FFFFFF#000000##000000
##2789AB1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7786AD
Deuteranopia (green-blind)
#657AAB
Tritanopia (blue-blind)
#009394
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2789ab;
/* rgb */ color: rgb(39, 137, 171);
/* oklch */ color: oklch(59.0% 0.101 226.2);
Tailwind
colors: {
  custom: {
    50: '#76abc4',
    500: '#2789ab',
    950: '#000000',
  },
}
SCSS
$custom: #2789ab;
$custom-light: #76abc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2789ab",
  "rgb": {
    "r": 39,
    "g": 137,
    "b": 171
  },
  "hsl": {
    "h": 195.455,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.59013,
    "c": 0.10075,
    "h": 226.2
  },
  "luminance": 0.21263
}

Semantic roles & 50–950 ramp

primary
#2789AB
secondary
#C58169
accent
#6C42E6
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2789AB

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2789AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva