#2A789F#2A789F

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

Color values

HEX#2A789F
RGBrgb(42, 120, 159)
HSLhsl(200, 58%, 39%)
HSVhsv(200, 74%, 62%)
CMYKcmyk(73.6%, 24.5%, 0%, 37.6%)
CIE-LABlab(47.53, -10.24, -27.77)
CIE-LCHlch(47.53, 29.60, 249.77°)
OKLaboklab(54.31% -0.0557 -0.0782)
OKLCHoklch(54.31% 0.096 234.5)
XYZxyz(13.9268, 16.4268, 35.2309)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A789F #9F512A
analogous
#2A9F8C #2A789F #2A3E9F
triadic
#2A789F #9F2A78 #789F2A
tetradic
#2A789F #8C2A9F #9F512A #3E9F2A
square
#2A789F #8C2A9F #9F512A #3E9F2A
split-complementary
#2A789F #9F2A3E #9F8C2A
monochromatic
#102F3E #1D536F #2A789F #3B9BCB #6BB4D8

Accessibility & contrast

On white

4.90
#2A789F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2A789F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A789F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A789F#FFFFFF#000000##FFFFFF
##2A789F1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6577A1
Deuteranopia (green-blind)
#556C9E
Tritanopia (blue-blind)
#008285
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a789f;
/* rgb */ color: rgb(42, 120, 159);
/* oklch */ color: oklch(54.3% 0.096 234.5);
Tailwind
colors: {
  custom: {
    50: '#749fbb',
    500: '#2a789f',
    950: '#000000',
  },
}
SCSS
$custom: #2a789f;
$custom-light: #749fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a789f",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 159
  },
  "hsl": {
    "h": 200,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.54308,
    "c": 0.096,
    "h": 234.5
  },
  "luminance": 0.16428
}

Semantic roles & 50–950 ramp

primary
#2A789F
secondary
#BF8466
accent
#7A46E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A789F

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

Preview Lab → · Contrast checker → · Palette generator →

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