#2A7EA4#2A7EA4

#2A7EA4 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.0% C 0.098 H 232.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#2A7EA4
RGBrgb(42, 126, 164)
HSLhsl(199, 59%, 40%)
HSVhsv(199, 74%, 64%)
CMYKcmyk(74.4%, 23.2%, 0%, 35.7%)
CIE-LABlab(49.61, -11.91, -27.46)
CIE-LCHlch(49.61, 29.93, 246.55°)
OKLaboklab(56.04% -0.06 -0.0772)
OKLCHoklch(56.04% 0.098 232.1)
XYZxyz(15.1139, 18.0925, 37.8104)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7EA4 #A4502A
analogous
#2AA48D #2A7EA4 #2A41A4
triadic
#2A7EA4 #A42A7E #7EA42A
tetradic
#2A7EA4 #8D2AA4 #A4502A #41A42A
square
#2A7EA4 #8D2AA4 #A4502A #41A42A
split-complementary
#2A7EA4 #A42A41 #A48D2A
monochromatic
#113343 #1E5973 #2A7EA4 #3EA1CD #6EB8DA

Accessibility & contrast

On white

4.55
#2A7EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#2A7EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7EA4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7EA4#FFFFFF#000000##000000
##2A7EA41.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7DA6
Deuteranopia (green-blind)
#5B71A3
Tritanopia (blue-blind)
#00888B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a7ea4;
/* rgb */ color: rgb(42, 126, 164);
/* oklch */ color: oklch(56.0% 0.098 232.1);
Tailwind
colors: {
  custom: {
    50: '#75a3bf',
    500: '#2a7ea4',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ea4;
$custom-light: #75a3bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ea4",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 164
  },
  "hsl": {
    "h": 198.689,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.56037,
    "c": 0.0978,
    "h": 232.1
  },
  "luminance": 0.18094
}

Semantic roles & 50–950 ramp

primary
#2A7EA4
secondary
#C18469
accent
#7645E2
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #2A7EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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