#2A7AC9#2A7AC9

#2A7AC9 is a mid, vivid cyan. Relative luminance 0.186; OKLCH L 57.1% C 0.144 H 251.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2A7AC9
RGBrgb(42, 122, 201)
HSLhsl(210, 65%, 48%)
HSVhsv(210, 79%, 79%)
CMYKcmyk(79.1%, 39.3%, 0%, 21.2%)
CIE-LABlab(50.25, 3.97, -47.79)
CIE-LCHlch(50.25, 47.95, 274.75°)
OKLaboklab(57.14% -0.0451 -0.1365)
OKLCHoklch(57.14% 0.144 251.7)
XYZxyz(18.4530, 18.6261, 57.8697)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7AC9 #C9792A
analogous
#2AC9C8 #2A7AC9 #2A2BC9
triadic
#2A7AC9 #C92A7A #7AC92A
tetradic
#2A7AC9 #C82AC9 #C9792A #2BC92A
square
#2A7AC9 #C82AC9 #C9792A #2BC92A
split-complementary
#2A7AC9 #C92A2B #C9C82A
monochromatic
#153D64 #1F5B96 #2A7AC9 #5599DB #87B7E6

Accessibility & contrast

On white

4.44
#2A7AC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#2A7AC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7AC9
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7AC9#FFFFFF#000000##000000
##2A7AC91.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#547FCC
Deuteranopia (green-blind)
#3A71C7
Tritanopia (blue-blind)
#008D98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a7ac9;
/* rgb */ color: rgb(42, 122, 201);
/* oklch */ color: oklch(57.1% 0.144 251.7);
Tailwind
colors: {
  custom: {
    50: '#7c9fda',
    500: '#2a7ac9',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ac9;
$custom-light: #7c9fda;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ac9",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 201
  },
  "hsl": {
    "h": 209.811,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57144,
    "c": 0.14374,
    "h": 251.7
  },
  "luminance": 0.18628
}

Semantic roles & 50–950 ramp

primary
#2A7AC9
secondary
#D0A77F
accent
#933FE8
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2A7AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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