#2A7EA8#2A7EA8

#2A7EA8 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.2% C 0.102 H 234.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2A7EA8
RGBrgb(42, 126, 168)
HSLhsl(200, 60%, 41%)
HSVhsv(200, 75%, 66%)
CMYKcmyk(75%, 25%, 0%, 34.1%)
CIE-LABlab(49.79, -10.50, -29.51)
CIE-LCHlch(49.79, 31.32, 250.42°)
OKLaboklab(56.24% -0.0586 -0.0831)
OKLCHoklch(56.24% 0.102 234.8)
XYZxyz(15.4808, 18.2393, 39.7428)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7EA8 #A8542A
analogous
#2AA893 #2A7EA8 #2A3FA8
triadic
#2A7EA8 #A82A7E #7EA82A
tetradic
#2A7EA8 #932AA8 #A8542A #3FA82A
square
#2A7EA8 #932AA8 #A8542A #3FA82A
split-complementary
#2A7EA8 #A82A3F #A8932A
monochromatic
#123546 #1E5977 #2A7EA8 #409FCF #71B8DB

Accessibility & contrast

On white

4.52
#2A7EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#2A7EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7EA8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7EA8#FFFFFF#000000##000000
##2A7EA81.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7DAA
Deuteranopia (green-blind)
#5971A7
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a7ea8;
/* rgb */ color: rgb(42, 126, 168);
/* oklch */ color: oklch(56.2% 0.102 234.8);
Tailwind
colors: {
  custom: {
    50: '#76a3c2',
    500: '#2a7ea8',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ea8;
$custom-light: #76a3c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ea8",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 168
  },
  "hsl": {
    "h": 200,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.56237,
    "c": 0.1017,
    "h": 234.8
  },
  "luminance": 0.18241
}

Semantic roles & 50–950 ramp

primary
#2A7EA8
secondary
#C3886B
accent
#7945E3
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2A7EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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