#2A789D#2A789D

#2A789D is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.2% C 0.094 H 233.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2A789D
RGBrgb(42, 120, 157)
HSLhsl(199, 58%, 39%)
HSVhsv(199, 73%, 62%)
CMYKcmyk(73.2%, 23.6%, 0%, 38.4%)
CIE-LABlab(47.44, -10.94, -26.74)
CIE-LCHlch(47.44, 28.89, 247.74°)
OKLaboklab(54.21% -0.0565 -0.0752)
OKLCHoklch(54.21% 0.094 233.1)
XYZxyz(13.7547, 16.3579, 34.3242)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A789D #9D4F2A
analogous
#2A9D89 #2A789D #2A3F9D
triadic
#2A789D #9D2A78 #789D2A
tetradic
#2A789D #892A9D #9D4F2A #3F9D2A
square
#2A789D #892A9D #9D4F2A #3F9D2A
split-complementary
#2A789D #9D2A3F #9D892A
monochromatic
#102E3C #1D536D #2A789D #3A9CCA #6AB4D7

Accessibility & contrast

On white

4.92
#2A789D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#2A789D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A789D
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A789D#FFFFFF#000000##FFFFFF
##2A789D1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66779F
Deuteranopia (green-blind)
#566C9C
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a789d;
/* rgb */ color: rgb(42, 120, 157);
/* oklch */ color: oklch(54.2% 0.094 233.1);
Tailwind
colors: {
  custom: {
    50: '#739fba',
    500: '#2a789d',
    950: '#000000',
  },
}
SCSS
$custom: #2a789d;
$custom-light: #739fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a789d",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 157
  },
  "hsl": {
    "h": 199.304,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.54208,
    "c": 0.09402,
    "h": 233.1
  },
  "luminance": 0.1636
}

Semantic roles & 50–950 ramp

primary
#2A789D
secondary
#BE8265
accent
#7847E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A789D

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

Preview Lab → · Contrast checker → · Palette generator →

#2A789D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva