#2A7CA9#2A7CA9

#2A7CA9 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.8% C 0.104 H 237.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2A7CA9
RGBrgb(42, 124, 169)
HSLhsl(201, 60%, 41%)
HSVhsv(201, 75%, 66%)
CMYKcmyk(75.1%, 26.6%, 0%, 33.7%)
CIE-LABlab(49.22, -8.99, -30.98)
CIE-LCHlch(49.22, 32.26, 253.82°)
OKLaboklab(55.8% -0.0562 -0.0874)
OKLCHoklch(55.8% 0.104 237.2)
XYZxyz(15.3211, 17.7703, 40.1510)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7CA9 #A9572A
analogous
#2AA997 #2A7CA9 #2A3DA9
triadic
#2A7CA9 #A92A7C #7CA92A
tetradic
#2A7CA9 #972AA9 #A9572A #3DA92A
square
#2A7CA9 #972AA9 #A9572A #3DA92A
split-complementary
#2A7CA9 #A92A3D #A9972A
monochromatic
#123447 #1E5878 #2A7CA9 #419DD0 #72B6DC

Accessibility & contrast

On white

4.61
#2A7CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2A7CA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7CA9
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7CA9#FFFFFF#000000##FFFFFF
##2A7CA91.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677CAB
Deuteranopia (green-blind)
#5570A8
Tritanopia (blue-blind)
#00888B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a7ca9;
/* rgb */ color: rgb(42, 124, 169);
/* oklch */ color: oklch(55.8% 0.104 237.2);
Tailwind
colors: {
  custom: {
    50: '#76a1c2',
    500: '#2a7ca9',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ca9;
$custom-light: #76a1c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ca9",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 169
  },
  "hsl": {
    "h": 201.26,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.55799,
    "c": 0.10394,
    "h": 237.2
  },
  "luminance": 0.17772
}

Semantic roles & 50–950 ramp

primary
#2A7CA9
secondary
#C38B6C
accent
#7D44E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #2A7CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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