#2A7EA2#2A7EA2

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

Color values

HEX#2A7EA2
RGBrgb(42, 126, 162)
HSLhsl(198, 59%, 40%)
HSVhsv(198, 74%, 64%)
CMYKcmyk(74.1%, 22.2%, 0%, 36.5%)
CIE-LABlab(49.52, -12.61, -26.43)
CIE-LCHlch(49.52, 29.28, 244.49°)
OKLaboklab(55.94% -0.0608 -0.0742)
OKLCHoklch(55.94% 0.096 230.7)
XYZxyz(14.9347, 18.0209, 36.8667)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7EA2 #A24E2A
analogous
#2AA28A #2A7EA2 #2A42A2
triadic
#2A7EA2 #A22A7E #7EA22A
tetradic
#2A7EA2 #8A2AA2 #A24E2A #42A22A
square
#2A7EA2 #8A2AA2 #A24E2A #42A22A
split-complementary
#2A7EA2 #A22A42 #A28A2A
monochromatic
#113241 #1D5871 #2A7EA2 #3DA1CD #6DB9D9

Accessibility & contrast

On white

4.56
#2A7EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A7EA2#FFFFFF#000000##000000
##2A7EA21.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a7ea2;
/* rgb */ color: rgb(42, 126, 162);
/* oklch */ color: oklch(55.9% 0.096 230.7);
Tailwind
colors: {
  custom: {
    50: '#75a3bd',
    500: '#2a7ea2',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ea2;
$custom-light: #75a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ea2",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 198,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.55939,
    "c": 0.09594,
    "h": 230.7
  },
  "luminance": 0.18023
}

Semantic roles & 50–950 ramp

primary
#2A7EA2
secondary
#C08268
accent
#7546E2
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #2A7EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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