#2A7EA5#2A7EA5

#2A7EA5 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.1% C 0.099 H 232.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2A7EA5
RGBrgb(42, 126, 165)
HSLhsl(199, 59%, 41%)
HSVhsv(199, 75%, 65%)
CMYKcmyk(74.5%, 23.6%, 0%, 35.3%)
CIE-LABlab(49.65, -11.56, -27.97)
CIE-LCHlch(49.65, 30.27, 247.55°)
OKLaboklab(56.09% -0.0597 -0.0787)
OKLCHoklch(56.09% 0.099 232.8)
XYZxyz(15.2045, 18.1288, 38.2879)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7EA5 #A5512A
analogous
#2AA58E #2A7EA5 #2A41A5
triadic
#2A7EA5 #A52A7E #7EA52A
tetradic
#2A7EA5 #8E2AA5 #A5512A #41A52A
square
#2A7EA5 #8E2AA5 #A5512A #41A52A
split-complementary
#2A7EA5 #A52A41 #A58E2A
monochromatic
#113343 #1E5974 #2A7EA5 #3EA0CE #6FB8DA

Accessibility & contrast

On white

4.54
#2A7EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#2A7EA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7EA5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7EA5#FFFFFF#000000##000000
##2A7EA51.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a7ea5;
/* rgb */ color: rgb(42, 126, 165);
/* oklch */ color: oklch(56.1% 0.099 232.8);
Tailwind
colors: {
  custom: {
    50: '#75a3c0',
    500: '#2a7ea5',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ea5;
$custom-light: #75a3c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ea5",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 165
  },
  "hsl": {
    "h": 199.024,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.56087,
    "c": 0.09875,
    "h": 232.8
  },
  "luminance": 0.18131
}

Semantic roles & 50–950 ramp

primary
#2A7EA5
secondary
#C18569
accent
#7745E3
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2A7EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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