#2A789B#2A789B

#2A789B is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.1% C 0.092 H 231.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2A789B
RGBrgb(42, 120, 155)
HSLhsl(199, 57%, 39%)
HSVhsv(199, 73%, 61%)
CMYKcmyk(72.9%, 22.6%, 0%, 39.2%)
CIE-LABlab(47.35, -11.65, -25.70)
CIE-LCHlch(47.35, 28.21, 245.62°)
OKLaboklab(54.11% -0.0572 -0.0722)
OKLCHoklch(54.11% 0.092 231.6)
XYZxyz(13.5853, 16.2902, 33.4323)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A789B #9B4D2A
analogous
#2A9B85 #2A789B #2A3F9B
triadic
#2A789B #9B2A78 #789B2A
tetradic
#2A789B #852A9B #9B4D2A #3F9B2A
square
#2A789B #852A9B #9B4D2A #3F9B2A
split-complementary
#2A789B #9B2A3F #9B852A
monochromatic
#102D3B #1D536B #2A789B #399DC9 #69B5D6

Accessibility & contrast

On white

4.93
#2A789B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2A789B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A789B
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A789B#FFFFFF#000000##FFFFFF
##2A789B1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66779D
Deuteranopia (green-blind)
#576B9A
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a789b;
/* rgb */ color: rgb(42, 120, 155);
/* oklch */ color: oklch(54.1% 0.092 231.6);
Tailwind
colors: {
  custom: {
    50: '#739fb8',
    500: '#2a789b',
    950: '#000000',
  },
}
SCSS
$custom: #2a789b;
$custom-light: #739fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a789b",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 155
  },
  "hsl": {
    "h": 198.584,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.54109,
    "c": 0.0921,
    "h": 231.6
  },
  "luminance": 0.16292
}

Semantic roles & 50–950 ramp

primary
#2A789B
secondary
#BD7F64
accent
#7747E1
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A789B

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

Preview Lab → · Contrast checker → · Palette generator →

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