#2A7EA1#2A7EA1

#2A7EA1 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 55.9% C 0.095 H 230.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2A7EA1
RGBrgb(42, 126, 161)
HSLhsl(198, 59%, 40%)
HSVhsv(198, 74%, 63%)
CMYKcmyk(73.9%, 21.7%, 0%, 36.9%)
CIE-LABlab(49.48, -12.96, -25.91)
CIE-LCHlch(49.48, 28.97, 243.43°)
OKLaboklab(55.89% -0.0611 -0.0728)
OKLCHoklch(55.89% 0.095 230)
XYZxyz(14.8461, 17.9854, 36.4004)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7EA1 #A14D2A
analogous
#2AA189 #2A7EA1 #2A43A1
triadic
#2A7EA1 #A12A7E #7EA12A
tetradic
#2A7EA1 #892AA1 #A14D2A #43A12A
square
#2A7EA1 #892AA1 #A14D2A #43A12A
split-complementary
#2A7EA1 #A12A43 #A1892A
monochromatic
#113240 #1D5870 #2A7EA1 #3CA2CC #6DB9D9

Accessibility & contrast

On white

4.57
#2A7EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#2A7EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7EA1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7EA1#FFFFFF#000000##000000
##2A7EA11.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7CA3
Deuteranopia (green-blind)
#5C71A1
Tritanopia (blue-blind)
#00888A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a7ea1;
/* rgb */ color: rgb(42, 126, 161);
/* oklch */ color: oklch(55.9% 0.095 230.0);
Tailwind
colors: {
  custom: {
    50: '#74a3bd',
    500: '#2a7ea1',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ea1;
$custom-light: #74a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ea1",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 161
  },
  "hsl": {
    "h": 197.647,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.55891,
    "c": 0.09504,
    "h": 230
  },
  "luminance": 0.17987
}

Semantic roles & 50–950 ramp

primary
#2A7EA1
secondary
#C08167
accent
#7446E2
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #2A7EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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