#2A71C8#2A71C8

#2A71C8 is a mid, vivid cyan. Relative luminance 0.165; OKLCH L 55.1% C 0.152 H 255.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2A71C8
RGBrgb(42, 113, 200)
HSLhsl(213, 65%, 47%)
HSVhsv(213, 79%, 78%)
CMYKcmyk(79%, 43.5%, 0%, 21.6%)
CIE-LABlab(47.59, 9.18, -51.46)
CIE-LCHlch(47.59, 52.28, 280.12°)
OKLaboklab(55.05% -0.0378 -0.1475)
OKLCHoklch(55.05% 0.152 255.6)
XYZxyz(17.2814, 16.4706, 56.9007)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A71C8 #C8812A
analogous
#2AC0C8 #2A71C8 #322AC8
triadic
#2A71C8 #C82A71 #71C82A
tetradic
#2A71C8 #C82AC0 #C8812A #2AC832
square
#2A71C8 #C82AC0 #C8812A #2AC832
split-complementary
#2A71C8 #C8322A #C0C82A
monochromatic
#153863 #1F5495 #2A71C8 #5491DB #87B1E6

Accessibility & contrast

On white

4.89
#2A71C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2A71C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A71C8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A71C8#FFFFFF#000000##FFFFFF
##2A71C81.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4579CB
Deuteranopia (green-blind)
#266AC6
Tritanopia (blue-blind)
#008693
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a71c8;
/* rgb */ color: rgb(42, 113, 200);
/* oklch */ color: oklch(55.1% 0.152 255.6);
Tailwind
colors: {
  custom: {
    50: '#7b99d9',
    500: '#2a71c8',
    950: '#000000',
  },
}
SCSS
$custom: #2a71c8;
$custom-light: #7b99d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a71c8",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 213.038,
    "s": 65.289,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55053,
    "c": 0.15223,
    "h": 255.6
  },
  "luminance": 0.16473
}

Semantic roles & 50–950 ramp

primary
#2A71C8
secondary
#CFAB7F
accent
#9C40E8
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2A71C8

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

Preview Lab → · Contrast checker → · Palette generator →

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