#2A72B8#2A72B8

#2A72B8 is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.3% C 0.130 H 251.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2A72B8
RGBrgb(42, 114, 184)
HSLhsl(210, 63%, 44%)
HSVhsv(210, 77%, 72%)
CMYKcmyk(77.2%, 38%, 0%, 27.8%)
CIE-LABlab(46.96, 2.52, -43.25)
CIE-LCHlch(46.96, 43.32, 273.33°)
OKLaboklab(54.26% -0.0423 -0.1233)
OKLCHoklch(54.26% 0.13 251.1)
XYZxyz(15.6206, 15.9857, 47.6004)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A72B8 #B8702A
analogous
#2AB8B7 #2A72B8 #2A2BB8
triadic
#2A72B8 #B82A72 #72B82A
tetradic
#2A72B8 #B72AB8 #B8702A #2BB82A
square
#2A72B8 #B72AB8 #B8702A #2BB82A
split-complementary
#2A72B8 #B82A2B #B8B72A
monochromatic
#133454 #1F5386 #2A72B8 #4A91D6 #7BAFE1

Accessibility & contrast

On white

5.00
#2A72B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2A72B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A72B8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A72B8#FFFFFF#000000##FFFFFF
##2A72B81.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5176BB
Deuteranopia (green-blind)
#3B69B7
Tritanopia (blue-blind)
#00838C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2a72b8;
/* rgb */ color: rgb(42, 114, 184);
/* oklch */ color: oklch(54.3% 0.130 251.1);
Tailwind
colors: {
  custom: {
    50: '#789ace',
    500: '#2a72b8',
    950: '#000000',
  },
}
SCSS
$custom: #2a72b8;
$custom-light: #789ace;
$custom-dark: #000000;
JSON
{
  "hex": "#2a72b8",
  "rgb": {
    "r": 42,
    "g": 114,
    "b": 184
  },
  "hsl": {
    "h": 209.577,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54263,
    "c": 0.13036,
    "h": 251.1
  },
  "luminance": 0.15988
}

Semantic roles & 50–950 ramp

primary
#2A72B8
secondary
#C99E75
accent
#9342E6
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2A72B8

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

Preview Lab → · Contrast checker → · Palette generator →

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