#2A72C8#2A72C8

#2A72C8 is a mid, vivid cyan. Relative luminance 0.167; OKLCH L 55.3% C 0.151 H 255.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2A72C8
RGBrgb(42, 114, 200)
HSLhsl(213, 65%, 47%)
HSVhsv(213, 79%, 78%)
CMYKcmyk(79%, 43%, 0%, 21.6%)
CIE-LABlab(47.87, 8.55, -51.00)
CIE-LCHlch(47.87, 51.72, 279.52°)
OKLaboklab(55.28% -0.0386 -0.1461)
OKLCHoklch(55.28% 0.151 255.2)
XYZxyz(17.3936, 16.6949, 56.9381)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A72C8 #C8802A
analogous
#2AC1C8 #2A72C8 #312AC8
triadic
#2A72C8 #C82A72 #72C82A
tetradic
#2A72C8 #C82AC1 #C8802A #2AC831
square
#2A72C8 #C82AC1 #C8802A #2AC831
split-complementary
#2A72C8 #C8312A #C1C82A
monochromatic
#153863 #1F5595 #2A72C8 #5492DB #87B2E6

Accessibility & contrast

On white

4.84
#2A72C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2A72C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A72C8
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A72C8#FFFFFF#000000##FFFFFF
##2A72C81.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4779CB
Deuteranopia (green-blind)
#286BC6
Tritanopia (blue-blind)
#008693
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a72c8;
/* rgb */ color: rgb(42, 114, 200);
/* oklch */ color: oklch(55.3% 0.151 255.2);
Tailwind
colors: {
  custom: {
    50: '#7b99d9',
    500: '#2a72c8',
    950: '#000000',
  },
}
SCSS
$custom: #2a72c8;
$custom-light: #7b99d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a72c8",
  "rgb": {
    "r": 42,
    "g": 114,
    "b": 200
  },
  "hsl": {
    "h": 212.658,
    "s": 65.289,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55276,
    "c": 0.1511,
    "h": 255.2
  },
  "luminance": 0.16697
}

Semantic roles & 50–950 ramp

primary
#2A72C8
secondary
#CFAA7F
accent
#9B40E8
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2A72C8

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

Preview Lab → · Contrast checker → · Palette generator →

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