#2A7DA2#2A7DA2

#2A7DA2 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.7% C 0.096 H 231.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2A7DA2
RGBrgb(42, 125, 162)
HSLhsl(199, 59%, 40%)
HSVhsv(199, 74%, 64%)
CMYKcmyk(74.1%, 22.8%, 0%, 36.5%)
CIE-LABlab(49.21, -12.04, -26.91)
CIE-LCHlch(49.21, 29.48, 245.89°)
OKLaboklab(55.69% -0.0597 -0.0756)
OKLCHoklch(55.69% 0.096 231.7)
XYZxyz(14.8074, 17.7664, 36.8243)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7DA2 #A24F2A
analogous
#2AA28B #2A7DA2 #2A41A2
triadic
#2A7DA2 #A22A7D #7DA22A
tetradic
#2A7DA2 #8B2AA2 #A24F2A #41A22A
square
#2A7DA2 #8B2AA2 #A24F2A #41A22A
split-complementary
#2A7DA2 #A22A41 #A28B2A
monochromatic
#113241 #1D5871 #2A7DA2 #3DA0CD #6DB8D9

Accessibility & contrast

On white

4.61
#2A7DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2A7DA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7DA2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7DA2#FFFFFF#000000##FFFFFF
##2A7DA21.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7BA4
Deuteranopia (green-blind)
#5A70A1
Tritanopia (blue-blind)
#008789
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a7da2;
/* rgb */ color: rgb(42, 125, 162);
/* oklch */ color: oklch(55.7% 0.096 231.7);
Tailwind
colors: {
  custom: {
    50: '#74a2bd',
    500: '#2a7da2',
    950: '#000000',
  },
}
SCSS
$custom: #2a7da2;
$custom-light: #74a2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7da2",
  "rgb": {
    "r": 42,
    "g": 125,
    "b": 162
  },
  "hsl": {
    "h": 198.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.55692,
    "c": 0.09639,
    "h": 231.7
  },
  "luminance": 0.17768
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A7DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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