#2A7CA7#2A7CA7

#2A7CA7 is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.7% C 0.102 H 236.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2A7CA7
RGBrgb(42, 124, 167)
HSLhsl(201, 60%, 41%)
HSVhsv(201, 75%, 65%)
CMYKcmyk(74.9%, 25.7%, 0%, 34.5%)
CIE-LABlab(49.13, -9.70, -29.96)
CIE-LCHlch(49.13, 31.49, 252.05°)
OKLaboklab(55.7% -0.0569 -0.0844)
OKLCHoklch(55.7% 0.102 236)
XYZxyz(15.1348, 17.6958, 39.1697)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7CA7 #A7552A
analogous
#2AA793 #2A7CA7 #2A3DA7
triadic
#2A7CA7 #A72A7C #7CA72A
tetradic
#2A7CA7 #932AA7 #A7552A #3DA72A
square
#2A7CA7 #932AA7 #A7552A #3DA72A
split-complementary
#2A7CA7 #A72A3D #A7932A
monochromatic
#113345 #1E5876 #2A7CA7 #3F9DCF #70B6DB

Accessibility & contrast

On white

4.63
#2A7CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2A7CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7CA7
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7CA7#FFFFFF#000000##FFFFFF
##2A7CA71.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677BA9
Deuteranopia (green-blind)
#566FA6
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a7ca7;
/* rgb */ color: rgb(42, 124, 167);
/* oklch */ color: oklch(55.7% 0.102 236.0);
Tailwind
colors: {
  custom: {
    50: '#75a1c1',
    500: '#2a7ca7',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ca7;
$custom-light: #75a1c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ca7",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 167
  },
  "hsl": {
    "h": 200.64,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.55696,
    "c": 0.10185,
    "h": 236
  },
  "luminance": 0.17698
}

Semantic roles & 50–950 ramp

primary
#2A7CA7
secondary
#C2896B
accent
#7B45E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #2A7CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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