#2789B1#2789B1

#2789B1 is a mid, moderate cyan. Relative luminance 0.215; OKLCH L 59.3% C 0.106 H 230.3°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#2789B1
RGBrgb(39, 137, 177)
HSLhsl(197, 64%, 42%)
HSVhsv(197, 78%, 69%)
CMYKcmyk(78%, 22.6%, 0%, 30.6%)
CIE-LABlab(53.49, -13.90, -28.95)
CIE-LCHlch(53.49, 32.12, 244.35°)
OKLaboklab(59.3% -0.0675 -0.0814)
OKLCHoklch(59.3% 0.106 230.3)
XYZxyz(17.7149, 21.4948, 44.8017)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2789B1 #B14F27
analogous
#27B194 #2789B1 #2744B1
triadic
#2789B1 #B12789 #89B127
tetradic
#2789B1 #9427B1 #B14F27 #44B127
square
#2789B1 #9427B1 #B14F27 #44B127
split-complementary
#2789B1 #B12744 #B19427
monochromatic
#113B4D #1C627F #2789B1 #40AAD5 #72C0E0

Accessibility & contrast

On white

3.96
#2789B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#2789B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2789B1
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2789B1#FFFFFF#000000##000000
##2789B11.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7587B3
Deuteranopia (green-blind)
#627AB0
Tritanopia (blue-blind)
#009496
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2789b1;
/* rgb */ color: rgb(39, 137, 177);
/* oklch */ color: oklch(59.3% 0.106 230.3);
Tailwind
colors: {
  custom: {
    50: '#77abc8',
    500: '#2789b1',
    950: '#000000',
  },
}
SCSS
$custom: #2789b1;
$custom-light: #77abc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2789b1",
  "rgb": {
    "r": 39,
    "g": 137,
    "b": 177
  },
  "hsl": {
    "h": 197.391,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.59299,
    "c": 0.1058,
    "h": 230.3
  },
  "luminance": 0.21497
}

Semantic roles & 50–950 ramp

primary
#2789B1
secondary
#C7876D
accent
#7141E7
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2789B1

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

Preview Lab → · Contrast checker → · Palette generator →

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