#2A789E#2A789E

#2A789E is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.3% C 0.095 H 233.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2A789E
RGBrgb(42, 120, 158)
HSLhsl(200, 58%, 39%)
HSVhsv(200, 73%, 62%)
CMYKcmyk(73.4%, 24.1%, 0%, 38%)
CIE-LABlab(47.48, -10.59, -27.25)
CIE-LCHlch(47.48, 29.24, 248.76°)
OKLaboklab(54.26% -0.0561 -0.0767)
OKLCHoklch(54.26% 0.095 233.8)
XYZxyz(13.8404, 16.3922, 34.7757)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A789E #9E502A
analogous
#2A9E8A #2A789E #2A3E9E
triadic
#2A789E #9E2A78 #789E2A
tetradic
#2A789E #8A2A9E #9E502A #3E9E2A
square
#2A789E #8A2A9E #9E502A #3E9E2A
split-complementary
#2A789E #9E2A3E #9E8A2A
monochromatic
#102F3D #1D536E #2A789E #3A9BCB #6BB4D8

Accessibility & contrast

On white

4.91
#2A789E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2A789E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A789E
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A789E#FFFFFF#000000##FFFFFF
##2A789E1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6577A0
Deuteranopia (green-blind)
#566C9D
Tritanopia (blue-blind)
#008285
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a789e;
/* rgb */ color: rgb(42, 120, 158);
/* oklch */ color: oklch(54.3% 0.095 233.8);
Tailwind
colors: {
  custom: {
    50: '#749fba',
    500: '#2a789e',
    950: '#000000',
  },
}
SCSS
$custom: #2a789e;
$custom-light: #749fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2a789e",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 158
  },
  "hsl": {
    "h": 199.655,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.54258,
    "c": 0.09501,
    "h": 233.8
  },
  "luminance": 0.16394
}

Semantic roles & 50–950 ramp

primary
#2A789E
secondary
#BE8366
accent
#7947E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A789E

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

Preview Lab → · Contrast checker → · Palette generator →

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