#2A7DC9#2A7DC9

#2A7DC9 is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 57.8% C 0.141 H 250.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2A7DC9
RGBrgb(42, 125, 201)
HSLhsl(209, 65%, 48%)
HSVhsv(209, 79%, 79%)
CMYKcmyk(79.1%, 37.8%, 0%, 21.2%)
CIE-LABlab(51.12, 2.14, -46.39)
CIE-LCHlch(51.12, 46.44, 272.65°)
OKLaboklab(57.83% -0.0477 -0.1323)
OKLCHoklch(57.83% 0.141 250.2)
XYZxyz(18.8271, 19.3742, 57.9944)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7DC9 #C9762A
analogous
#2AC9C5 #2A7DC9 #2A2EC9
triadic
#2A7DC9 #C92A7D #7DC92A
tetradic
#2A7DC9 #C52AC9 #C9762A #2EC92A
square
#2A7DC9 #C52AC9 #C9762A #2EC92A
split-complementary
#2A7DC9 #C92A2E #C9C52A
monochromatic
#153E64 #1F5E96 #2A7DC9 #559BDB #87B9E6

Accessibility & contrast

On white

4.31
#2A7DC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2A7DC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7DC9
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7DC9#FFFFFF#000000##000000
##2A7DC91.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5982CC
Deuteranopia (green-blind)
#4073C8
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2a7dc9;
/* rgb */ color: rgb(42, 125, 201);
/* oklch */ color: oklch(57.8% 0.141 250.2);
Tailwind
colors: {
  custom: {
    50: '#7ca2da',
    500: '#2a7dc9',
    950: '#000000',
  },
}
SCSS
$custom: #2a7dc9;
$custom-light: #7ca2da;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7dc9",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 201
  },
  "hsl": {
    "h": 208.679,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57829,
    "c": 0.14067,
    "h": 250.2
  },
  "luminance": 0.19377
}

Semantic roles & 50–950 ramp

primary
#2A7DC9
secondary
#D0A67F
accent
#903FE8
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F15
muted
#7C7E83

Preview Lab

Preview with #2A7DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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