#2789B3#2789B3

#2789B3 is a mid, moderate cyan. Relative luminance 0.216; OKLCH L 59.4% C 0.108 H 231.6°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2789B3
RGBrgb(39, 137, 179)
HSLhsl(198, 64%, 43%)
HSVhsv(198, 78%, 70%)
CMYKcmyk(78.2%, 23.5%, 0%, 29.8%)
CIE-LABlab(53.57, -13.20, -29.96)
CIE-LCHlch(53.57, 32.74, 246.22°)
OKLaboklab(59.4% -0.0668 -0.0844)
OKLCHoklch(59.4% 0.108 231.6)
XYZxyz(17.9157, 21.5752, 45.8593)
Luminance0.2158 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2789B3 #B35127
analogous
#27B397 #2789B3 #2743B3
triadic
#2789B3 #B32789 #89B327
tetradic
#2789B3 #9727B3 #B35127 #43B327
square
#2789B3 #9727B3 #B35127 #43B327
split-complementary
#2789B3 #B32743 #B39727
monochromatic
#113C4E #1C6381 #2789B3 #41A9D6 #74C0E1

Accessibility & contrast

On white

3.95
#2789B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#2789B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2789B3
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2789B3#FFFFFF#000000##000000
##2789B31.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7487B5
Deuteranopia (green-blind)
#617AB2
Tritanopia (blue-blind)
#009497
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2789b3;
/* rgb */ color: rgb(39, 137, 179);
/* oklch */ color: oklch(59.4% 0.108 231.6);
Tailwind
colors: {
  custom: {
    50: '#77abca',
    500: '#2789b3',
    950: '#000000',
  },
}
SCSS
$custom: #2789b3;
$custom-light: #77abca;
$custom-dark: #000000;
JSON
{
  "hex": "#2789b3",
  "rgb": {
    "r": 39,
    "g": 137,
    "b": 179
  },
  "hsl": {
    "h": 198,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.59397,
    "c": 0.10762,
    "h": 231.6
  },
  "luminance": 0.21577
}

Semantic roles & 50–950 ramp

primary
#2789B3
secondary
#C8896E
accent
#7341E7
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2789B3

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

Preview Lab → · Contrast checker → · Palette generator →

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