#2A7FC9#2A7FC9

#2A7FC9 is a mid, vivid cyan. Relative luminance 0.199; OKLCH L 58.3% C 0.139 H 249.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2A7FC9
RGBrgb(42, 127, 201)
HSLhsl(208, 65%, 48%)
HSVhsv(208, 79%, 79%)
CMYKcmyk(79.1%, 36.8%, 0%, 21.2%)
CIE-LABlab(51.71, 0.93, -45.46)
CIE-LCHlch(51.71, 45.47, 271.18°)
OKLaboklab(58.29% -0.0494 -0.1296)
OKLCHoklch(58.29% 0.139 249.1)
XYZxyz(19.0828, 19.8857, 58.0796)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7FC9 #C9742A
analogous
#2AC9C4 #2A7FC9 #2A2FC9
triadic
#2A7FC9 #C92A7F #7FC92A
tetradic
#2A7FC9 #C42AC9 #C9742A #2FC92A
square
#2A7FC9 #C42AC9 #C9742A #2FC92A
split-complementary
#2A7FC9 #C92A2F #C9C42A
monochromatic
#153F64 #1F5F96 #2A7FC9 #559DDB #87BAE6

Accessibility & contrast

On white

4.22
#2A7FC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#2A7FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7FC9
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7FC9#FFFFFF#000000##000000
##2A7FC91.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C83CC
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#00919A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a7fc9;
/* rgb */ color: rgb(42, 127, 201);
/* oklch */ color: oklch(58.3% 0.139 249.1);
Tailwind
colors: {
  custom: {
    50: '#7ca3da',
    500: '#2a7fc9',
    950: '#000000',
  },
}
SCSS
$custom: #2a7fc9;
$custom-light: #7ca3da;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7fc9",
  "rgb": {
    "r": 42,
    "g": 127,
    "b": 201
  },
  "hsl": {
    "h": 207.925,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58288,
    "c": 0.13868,
    "h": 249.1
  },
  "luminance": 0.19888
}

Semantic roles & 50–950 ramp

primary
#2A7FC9
secondary
#D0A57F
accent
#8E3FE8
background
#F8FAFD
surface
#EFF3FA
border
#CACDD3
text
#0B0F15
muted
#7C7F83

Preview Lab

Preview with #2A7FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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