#2A7CA2#2A7CA2

#2A7CA2 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.4% C 0.097 H 232.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2A7CA2
RGBrgb(42, 124, 162)
HSLhsl(199, 59%, 40%)
HSVhsv(199, 74%, 64%)
CMYKcmyk(74.1%, 23.5%, 0%, 36.5%)
CIE-LABlab(48.90, -11.47, -27.39)
CIE-LCHlch(48.90, 29.70, 247.27°)
OKLaboklab(55.45% -0.0587 -0.077)
OKLCHoklch(55.45% 0.097 232.7)
XYZxyz(14.6815, 17.5145, 36.7823)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7CA2 #A2502A
analogous
#2AA28C #2A7CA2 #2A40A2
triadic
#2A7CA2 #A22A7C #7CA22A
tetradic
#2A7CA2 #8C2AA2 #A2502A #40A22A
square
#2A7CA2 #8C2AA2 #A2502A #40A22A
split-complementary
#2A7CA2 #A22A40 #A28C2A
monochromatic
#113241 #1D5771 #2A7CA2 #3D9FCD #6DB7D9

Accessibility & contrast

On white

4.66
#2A7CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#2A7CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7CA2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7CA2#FFFFFF#000000##FFFFFF
##2A7CA21.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697BA4
Deuteranopia (green-blind)
#596FA1
Tritanopia (blue-blind)
#008689
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a7ca2;
/* rgb */ color: rgb(42, 124, 162);
/* oklch */ color: oklch(55.4% 0.097 232.7);
Tailwind
colors: {
  custom: {
    50: '#74a1bd',
    500: '#2a7ca2',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ca2;
$custom-light: #74a1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ca2",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 162
  },
  "hsl": {
    "h": 199,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.55445,
    "c": 0.09687,
    "h": 232.7
  },
  "luminance": 0.17516
}

Semantic roles & 50–950 ramp

primary
#2A7CA2
secondary
#C08468
accent
#7746E2
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090F12
muted
#7B7E81

Preview Lab

Preview with #2A7CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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