#2A7CC9#2A7CC9

#2A7CC9 is a mid, vivid cyan. Relative luminance 0.191; OKLCH L 57.6% C 0.142 H 250.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2A7CC9
RGBrgb(42, 124, 201)
HSLhsl(209, 65%, 48%)
HSVhsv(209, 79%, 79%)
CMYKcmyk(79.1%, 38.3%, 0%, 21.2%)
CIE-LABlab(50.83, 2.75, -46.86)
CIE-LCHlch(50.83, 46.94, 273.36°)
OKLaboklab(57.6% -0.0468 -0.1337)
OKLCHoklch(57.6% 0.142 250.7)
XYZxyz(18.7011, 19.1223, 57.9524)
Luminance0.1913 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7CC9 #C9772A
analogous
#2AC9C7 #2A7CC9 #2A2CC9
triadic
#2A7CC9 #C92A7C #7CC92A
tetradic
#2A7CC9 #C72AC9 #C9772A #2CC92A
square
#2A7CC9 #C72AC9 #C9772A #2CC92A
split-complementary
#2A7CC9 #C92A2C #C9C72A
monochromatic
#153E64 #1F5D96 #2A7CC9 #559ADB #87B8E6

Accessibility & contrast

On white

4.35
#2A7CC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#2A7CC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7CC9
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7CC9#FFFFFF#000000##000000
##2A7CC91.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5781CC
Deuteranopia (green-blind)
#3E72C7
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2a7cc9;
/* rgb */ color: rgb(42, 124, 201);
/* oklch */ color: oklch(57.6% 0.142 250.7);
Tailwind
colors: {
  custom: {
    50: '#7ca1da',
    500: '#2a7cc9',
    950: '#000000',
  },
}
SCSS
$custom: #2a7cc9;
$custom-light: #7ca1da;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7cc9",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 201
  },
  "hsl": {
    "h": 209.057,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.576,
    "c": 0.14168,
    "h": 250.7
  },
  "luminance": 0.19125
}

Semantic roles & 50–950 ramp

primary
#2A7CC9
secondary
#D0A67F
accent
#913FE8
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2A7CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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