#2A7DA8#2A7DA8

#2A7DA8 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.0% C 0.102 H 235.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2A7DA8
RGBrgb(42, 125, 168)
HSLhsl(200, 60%, 41%)
HSVhsv(200, 75%, 66%)
CMYKcmyk(75%, 25.6%, 0%, 34.1%)
CIE-LABlab(49.48, -9.92, -29.99)
CIE-LCHlch(49.48, 31.59, 251.69°)
OKLaboklab(55.99% -0.0576 -0.0845)
OKLCHoklch(55.99% 0.102 235.7)
XYZxyz(15.3535, 17.9848, 39.7004)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7DA8 #A8552A
analogous
#2AA894 #2A7DA8 #2A3EA8
triadic
#2A7DA8 #A82A7D #7DA82A
tetradic
#2A7DA8 #942AA8 #A8552A #3EA82A
square
#2A7DA8 #942AA8 #A8552A #3EA82A
split-complementary
#2A7DA8 #A82A3E #A8942A
monochromatic
#123446 #1E5977 #2A7DA8 #409ECF #71B7DB

Accessibility & contrast

On white

4.57
#2A7DA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#2A7DA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7DA8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7DA8#FFFFFF#000000##000000
##2A7DA81.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#687CAA
Deuteranopia (green-blind)
#5770A7
Tritanopia (blue-blind)
#00888C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2a7da8;
/* rgb */ color: rgb(42, 125, 168);
/* oklch */ color: oklch(56.0% 0.102 235.7);
Tailwind
colors: {
  custom: {
    50: '#75a2c2',
    500: '#2a7da8',
    950: '#000000',
  },
}
SCSS
$custom: #2a7da8;
$custom-light: #75a2c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7da8",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 168
  },
  "hsl": {
    "h": 200.476,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.55992,
    "c": 0.10228,
    "h": 235.7
  },
  "luminance": 0.17987
}

Semantic roles & 50–950 ramp

primary
#2A7DA8
secondary
#C3896B
accent
#7B45E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #2A7DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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