#2A7CA0#2A7CA0

#2A7CA0 is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.3% C 0.095 H 231.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2A7CA0
RGBrgb(42, 124, 160)
HSLhsl(198, 58%, 40%)
HSVhsv(198, 74%, 63%)
CMYKcmyk(73.8%, 22.5%, 0%, 37.3%)
CIE-LABlab(48.81, -12.18, -26.36)
CIE-LCHlch(48.81, 29.04, 245.21°)
OKLaboklab(55.35% -0.0595 -0.0741)
OKLCHoklch(55.35% 0.095 231.2)
XYZxyz(14.5051, 17.4439, 35.8534)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7CA0 #A04E2A
analogous
#2AA089 #2A7CA0 #2A41A0
triadic
#2A7CA0 #A02A7C #7CA02A
tetradic
#2A7CA0 #892AA0 #A04E2A #41A02A
square
#2A7CA0 #892AA0 #A04E2A #41A02A
split-complementary
#2A7CA0 #A02A41 #A0892A
monochromatic
#11313F #1D5670 #2A7CA0 #3CA0CC #6CB7D8

Accessibility & contrast

On white

4.68
#2A7CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2A7CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7CA0
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7CA0#FFFFFF#000000##FFFFFF
##2A7CA01.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7AA2
Deuteranopia (green-blind)
#5A6F9F
Tritanopia (blue-blind)
#008688
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a7ca0;
/* rgb */ color: rgb(42, 124, 160);
/* oklch */ color: oklch(55.3% 0.095 231.2);
Tailwind
colors: {
  custom: {
    50: '#74a2bc',
    500: '#2a7ca0',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ca0;
$custom-light: #74a2bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ca0",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 160
  },
  "hsl": {
    "h": 198.305,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.55347,
    "c": 0.09498,
    "h": 231.2
  },
  "luminance": 0.17446
}

Semantic roles & 50–950 ramp

primary
#2A7CA0
secondary
#BF8267
accent
#7646E2
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090F12
muted
#7B7E81

Preview Lab

Preview with #2A7CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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