#2A89AB#2A89AB

#2A89AB is a mid, moderate cyan. Relative luminance 0.213; OKLCH L 59.1% C 0.100 H 226.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2A89AB
RGBrgb(42, 137, 171)
HSLhsl(196, 61%, 42%)
HSVhsv(196, 75%, 67%)
CMYKcmyk(75.4%, 19.9%, 0%, 32.9%)
CIE-LABlab(53.30, -15.63, -25.79)
CIE-LCHlch(53.30, 30.16, 238.78°)
OKLaboklab(59.09% -0.0685 -0.0723)
OKLCHoklch(59.09% 0.1 226.6)
XYZxyz(17.2482, 21.3218, 41.7267)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A89AB #AB4C2A
analogous
#2AAB8D #2A89AB #2A49AB
triadic
#2A89AB #AB2A89 #89AB2A
tetradic
#2A89AB #8D2AAB #AB4C2A #49AB2A
square
#2A89AB #8D2AAB #AB4C2A #49AB2A
split-complementary
#2A89AB #AB2A49 #AB8D2A
monochromatic
#123A49 #1E627A #2A89AB #42ABD1 #73C1DD

Accessibility & contrast

On white

3.99
#2A89AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#2A89AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A89AB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A89AB#FFFFFF#000000##000000
##2A89AB1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7786AD
Deuteranopia (green-blind)
#657AAB
Tritanopia (blue-blind)
#009394
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #2a89ab;
/* rgb */ color: rgb(42, 137, 171);
/* oklch */ color: oklch(59.1% 0.100 226.6);
Tailwind
colors: {
  custom: {
    50: '#77abc4',
    500: '#2a89ab',
    950: '#000000',
  },
}
SCSS
$custom: #2a89ab;
$custom-light: #77abc4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a89ab",
  "rgb": {
    "r": 42,
    "g": 137,
    "b": 171
  },
  "hsl": {
    "h": 195.814,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.59085,
    "c": 0.09959,
    "h": 226.6
  },
  "luminance": 0.21324
}

Semantic roles & 50–950 ramp

primary
#2A89AB
secondary
#C4846D
accent
#6E44E4
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2A89AB

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

Preview Lab → · Contrast checker → · Palette generator →

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