#2A7AC8#2A7AC8

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

Color values

HEX#2A7AC8
RGBrgb(42, 122, 200)
HSLhsl(210, 65%, 47%)
HSVhsv(210, 79%, 78%)
CMYKcmyk(79%, 39%, 0%, 21.6%)
CIE-LABlab(50.19, 3.60, -47.30)
CIE-LCHlch(50.19, 47.44, 274.35°)
OKLaboklab(57.08% -0.0453 -0.1351)
OKLCHoklch(57.08% 0.142 251.5)
XYZxyz(18.3358, 18.5792, 57.2522)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7AC8 #C8782A
analogous
#2AC8C7 #2A7AC8 #2A2BC8
triadic
#2A7AC8 #C82A7A #7AC82A
tetradic
#2A7AC8 #C72AC8 #C8782A #2BC82A
square
#2A7AC8 #C72AC8 #C8782A #2BC82A
split-complementary
#2A7AC8 #C82A2B #C8C72A
monochromatic
#153C63 #1F5B95 #2A7AC8 #5498DB #87B7E6

Accessibility & contrast

On white

4.45
#2A7AC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#2A7AC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7AC8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7AC8#FFFFFF#000000##000000
##2A7AC81.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FCB
Deuteranopia (green-blind)
#3B71C6
Tritanopia (blue-blind)
#008D97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2a7ac8;
/* rgb */ color: rgb(42, 122, 200);
/* oklch */ color: oklch(57.1% 0.142 251.5);
Tailwind
colors: {
  custom: {
    50: '#7b9fd9',
    500: '#2a7ac8',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ac8;
$custom-light: #7b9fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ac8",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 200
  },
  "hsl": {
    "h": 209.62,
    "s": 65.289,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57082,
    "c": 0.14247,
    "h": 251.5
  },
  "luminance": 0.18581
}

Semantic roles & 50–950 ramp

primary
#2A7AC8
secondary
#CFA67F
accent
#9340E8
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2A7AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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