#2A89CB#2A89CB

#2A89CB is a mid, vivid cyan. Relative luminance 0.227; OKLCH L 60.7% C 0.132 H 244.1°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#2A89CB
RGBrgb(42, 137, 203)
HSLhsl(205, 66%, 48%)
HSVhsv(205, 79%, 80%)
CMYKcmyk(79.3%, 32.5%, 0%, 20.4%)
CIE-LABlab(54.75, -4.27, -41.78)
CIE-LCHlch(54.75, 41.99, 264.17°)
OKLaboklab(60.72% -0.0577 -0.1186)
OKLCHoklch(60.72% 0.132 244.1)
XYZxyz(20.6758, 22.6928, 59.7788)
Luminance0.2270 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A89CB #CB6C2A
analogous
#2ACBBC #2A89CB #2A39CB
triadic
#2A89CB #CB2A89 #89CB2A
tetradic
#2A89CB #BC2ACB #CB6C2A #39CB2A
square
#2A89CB #BC2ACB #CB6C2A #39CB2A
split-complementary
#2A89CB #CB2A39 #CBBC2A
monochromatic
#154566 #206798 #2A89CB #56A5DC #89C0E7

Accessibility & contrast

On white

3.79
#2A89CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#2A89CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A89CB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A89CB#FFFFFF#000000##000000
##2A89CB1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCE
Deuteranopia (green-blind)
#547CCA
Tritanopia (blue-blind)
#0099A1
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2a89cb;
/* rgb */ color: rgb(42, 137, 203);
/* oklch */ color: oklch(60.7% 0.132 244.1);
Tailwind
colors: {
  custom: {
    50: '#7cabdb',
    500: '#2a89cb',
    950: '#000000',
  },
}
SCSS
$custom: #2a89cb;
$custom-light: #7cabdb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a89cb",
  "rgb": {
    "r": 42,
    "g": 137,
    "b": 203
  },
  "hsl": {
    "h": 204.596,
    "s": 65.714,
    "l": 48.039
  },
  "oklch": {
    "l": 0.6072,
    "c": 0.13192,
    "h": 244.1
  },
  "luminance": 0.22695
}

Semantic roles & 50–950 ramp

primary
#2A89CB
secondary
#D0A181
accent
#853FE9
background
#F8FAFD
surface
#EFF4FB
border
#CACED4
text
#0B1015
muted
#7C7F83

Preview Lab

Preview with #2A89CB

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

Preview Lab → · Contrast checker → · Palette generator →

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