#2A7CA4#2A7CA4

#2A7CA4 is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.5% C 0.099 H 234.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2A7CA4
RGBrgb(42, 124, 164)
HSLhsl(200, 59%, 40%)
HSVhsv(200, 74%, 64%)
CMYKcmyk(74.4%, 24.4%, 0%, 35.7%)
CIE-LABlab(48.99, -10.77, -28.42)
CIE-LCHlch(48.99, 30.39, 249.25°)
OKLaboklab(55.55% -0.058 -0.08)
OKLCHoklch(55.55% 0.099 234.1)
XYZxyz(14.8607, 17.5862, 37.7260)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7CA4 #A4522A
analogous
#2AA48F #2A7CA4 #2A3FA4
triadic
#2A7CA4 #A42A7C #7CA42A
tetradic
#2A7CA4 #8F2AA4 #A4522A #3FA42A
square
#2A7CA4 #8F2AA4 #A4522A #3FA42A
split-complementary
#2A7CA4 #A42A3F #A48F2A
monochromatic
#113243 #1E5773 #2A7CA4 #3E9ECD #6EB7DA

Accessibility & contrast

On white

4.65
#2A7CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#2A7CA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7CA4
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7CA4#FFFFFF#000000##FFFFFF
##2A7CA41.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687BA6
Deuteranopia (green-blind)
#586FA3
Tritanopia (blue-blind)
#00878A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a7ca4;
/* rgb */ color: rgb(42, 124, 164);
/* oklch */ color: oklch(55.5% 0.099 234.1);
Tailwind
colors: {
  custom: {
    50: '#75a1bf',
    500: '#2a7ca4',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ca4;
$custom-light: #75a1bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ca4",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 164
  },
  "hsl": {
    "h": 199.672,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.55545,
    "c": 0.09882,
    "h": 234.1
  },
  "luminance": 0.17588
}

Semantic roles & 50–950 ramp

primary
#2A7CA4
secondary
#C18669
accent
#7945E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090F12
muted
#7B7E81

Preview Lab

Preview with #2A7CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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