#2A7EA3#2A7EA3

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

Color values

HEX#2A7EA3
RGBrgb(42, 126, 163)
HSLhsl(198, 59%, 40%)
HSVhsv(198, 74%, 64%)
CMYKcmyk(74.2%, 22.7%, 0%, 36.1%)
CIE-LABlab(49.56, -12.26, -26.94)
CIE-LCHlch(49.56, 29.60, 245.53°)
OKLaboklab(55.99% -0.0604 -0.0757)
OKLCHoklch(55.99% 0.097 231.4)
XYZxyz(15.0239, 18.0565, 37.3367)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7EA3 #A34F2A
analogous
#2AA38B #2A7EA3 #2A42A3
triadic
#2A7EA3 #A32A7E #7EA32A
tetradic
#2A7EA3 #8B2AA3 #A34F2A #42A32A
square
#2A7EA3 #8B2AA3 #A34F2A #42A32A
split-complementary
#2A7EA3 #A32A42 #A38B2A
monochromatic
#113342 #1D5872 #2A7EA3 #3DA1CD #6EB9DA

Accessibility & contrast

On white

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

On black

4.61
#2A7EA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7EA3
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7EA3#FFFFFF#000000##000000
##2A7EA31.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a7ea3;
/* rgb */ color: rgb(42, 126, 163);
/* oklch */ color: oklch(56.0% 0.097 231.4);
Tailwind
colors: {
  custom: {
    50: '#75a3be',
    500: '#2a7ea3',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ea3;
$custom-light: #75a3be;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ea3",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 163
  },
  "hsl": {
    "h": 198.347,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.55988,
    "c": 0.09686,
    "h": 231.4
  },
  "luminance": 0.18058
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A7EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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