#2A7CA1#2A7CA1

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

Color values

HEX#2A7CA1
RGBrgb(42, 124, 161)
HSLhsl(199, 59%, 40%)
HSVhsv(199, 74%, 63%)
CMYKcmyk(73.9%, 23%, 0%, 36.9%)
CIE-LABlab(48.86, -11.83, -26.88)
CIE-LCHlch(48.86, 29.36, 246.25°)
OKLaboklab(55.4% -0.0591 -0.0756)
OKLCHoklch(55.4% 0.096 232)
XYZxyz(14.5929, 17.4791, 36.3160)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7CA1 #A14F2A
analogous
#2AA18A #2A7CA1 #2A41A1
triadic
#2A7CA1 #A12A7C #7CA12A
tetradic
#2A7CA1 #8A2AA1 #A14F2A #41A12A
square
#2A7CA1 #8A2AA1 #A14F2A #41A12A
split-complementary
#2A7CA1 #A12A41 #A18A2A
monochromatic
#113140 #1D5770 #2A7CA1 #3C9FCC #6DB7D9

Accessibility & contrast

On white

4.67
#2A7CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2A7CA1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7CA1#FFFFFF#000000##FFFFFF
##2A7CA11.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697BA3
Deuteranopia (green-blind)
#596FA0
Tritanopia (blue-blind)
#008688
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a7ca1;
/* rgb */ color: rgb(42, 124, 161);
/* oklch */ color: oklch(55.4% 0.096 232.0);
Tailwind
colors: {
  custom: {
    50: '#74a1bd',
    500: '#2a7ca1',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ca1;
$custom-light: #74a1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ca1",
  "rgb": {
    "r": 42,
    "g": 124,
    "b": 161
  },
  "hsl": {
    "h": 198.655,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.55396,
    "c": 0.09592,
    "h": 232
  },
  "luminance": 0.17481
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A7CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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