#2A72BA#2A72BA

#2A72BA is a mid, vivid cyan. Relative luminance 0.161; OKLCH L 54.4% C 0.133 H 251.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2A72BA
RGBrgb(42, 114, 186)
HSLhsl(210, 63%, 45%)
HSVhsv(210, 77%, 73%)
CMYKcmyk(77.4%, 38.7%, 0%, 27.1%)
CIE-LABlab(47.07, 3.27, -44.23)
CIE-LCHlch(47.07, 44.35, 274.23°)
OKLaboklab(54.39% -0.0418 -0.1262)
OKLCHoklch(54.39% 0.133 251.7)
XYZxyz(15.8317, 16.0702, 48.7123)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A72BA #BA722A
analogous
#2ABABA #2A72BA #2A2ABA
triadic
#2A72BA #BA2A72 #72BA2A
tetradic
#2A72BA #BA2ABA #BA722A #2ABA2A
square
#2A72BA #BA2ABA #BA722A #2ABA2A
split-complementary
#2A72BA #BA2A2A #BABA2A
monochromatic
#133556 #1F5388 #2A72BA #4B91D6 #7DAFE2

Accessibility & contrast

On white

4.98
#2A72BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#2A72BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A72BA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A72BA#FFFFFF#000000##FFFFFF
##2A72BA1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5077BD
Deuteranopia (green-blind)
#396AB9
Tritanopia (blue-blind)
#00838D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a72ba;
/* rgb */ color: rgb(42, 114, 186);
/* oklch */ color: oklch(54.4% 0.133 251.7);
Tailwind
colors: {
  custom: {
    50: '#799acf',
    500: '#2a72ba',
    950: '#000000',
  },
}
SCSS
$custom: #2a72ba;
$custom-light: #799acf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a72ba",
  "rgb": {
    "r": 42,
    "g": 114,
    "b": 186
  },
  "hsl": {
    "h": 210,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.54386,
    "c": 0.13293,
    "h": 251.7
  },
  "luminance": 0.16072
}

Semantic roles & 50–950 ramp

primary
#2A72BA
secondary
#CAA076
accent
#9442E6
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E14
muted
#7C7E82

Preview Lab

Preview with #2A72BA

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

Preview Lab → · Contrast checker → · Palette generator →

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