#2A7EA9#2A7EA9

#2A7EA9 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.3% C 0.103 H 235.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2A7EA9
RGBrgb(42, 126, 169)
HSLhsl(200, 60%, 41%)
HSVhsv(200, 75%, 66%)
CMYKcmyk(75.1%, 25.4%, 0%, 33.7%)
CIE-LABlab(49.83, -10.14, -30.02)
CIE-LCHlch(49.83, 31.69, 251.33°)
OKLaboklab(56.29% -0.0582 -0.0846)
OKLCHoklch(56.29% 0.103 235.5)
XYZxyz(15.5743, 18.2767, 40.2354)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7EA9 #A9552A
analogous
#2AA995 #2A7EA9 #2A3FA9
triadic
#2A7EA9 #A92A7E #7EA92A
tetradic
#2A7EA9 #952AA9 #A9552A #3FA92A
square
#2A7EA9 #952AA9 #A9552A #3FA92A
split-complementary
#2A7EA9 #A92A3F #A9952A
monochromatic
#123547 #1E5978 #2A7EA9 #419FD0 #72B8DC

Accessibility & contrast

On white

4.51
#2A7EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#2A7EA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7EA9
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7EA9#FFFFFF#000000##000000
##2A7EA91.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#697DAB
Deuteranopia (green-blind)
#5871A8
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a7ea9;
/* rgb */ color: rgb(42, 126, 169);
/* oklch */ color: oklch(56.3% 0.103 235.5);
Tailwind
colors: {
  custom: {
    50: '#76a3c2',
    500: '#2a7ea9',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ea9;
$custom-light: #76a3c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ea9",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 169
  },
  "hsl": {
    "h": 200.315,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.56287,
    "c": 0.10272,
    "h": 235.5
  },
  "luminance": 0.18279
}

Semantic roles & 50–950 ramp

primary
#2A7EA9
secondary
#C3896C
accent
#7A44E3
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2A7EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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