#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
RGBrgb(39, 137, 178)
HSLhsl(198, 64%, 43%)
HSVhsv(198, 78%, 70%)
CMYKcmyk(78.1%, 23%, 0%, 30.2%)
CIE-LABlab(53.53, -13.55, -29.46)
CIE-LCHlch(53.53, 32.43, 245.29°)
OKLaboklab(59.35% -0.0672 -0.0829)
OKLCHoklch(59.35% 0.107 231)
XYZxyz(17.8150, 21.5348, 45.3286)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

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
##2789B21.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.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

Preview Lab

Preview with #2789B2

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

Preview Lab → · Contrast checker → · Palette generator →

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