#2A7AA2#2A7AA2

#2A7AA2 is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 55.0% C 0.098 H 234.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2A7AA2
RGBrgb(42, 122, 162)
HSLhsl(200, 59%, 40%)
HSVhsv(200, 74%, 64%)
CMYKcmyk(74.1%, 24.7%, 0%, 36.5%)
CIE-LABlab(48.28, -10.33, -28.35)
CIE-LCHlch(48.28, 30.18, 249.99°)
OKLaboklab(54.95% -0.0567 -0.0798)
OKLCHoklch(54.95% 0.098 234.6)
XYZxyz(14.4334, 17.0183, 36.6996)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7AA2 #A2522A
analogous
#2AA28E #2A7AA2 #2A3EA2
triadic
#2A7AA2 #A22A7A #7AA22A
tetradic
#2A7AA2 #8E2AA2 #A2522A #3EA22A
square
#2A7AA2 #8E2AA2 #A2522A #3EA22A
split-complementary
#2A7AA2 #A22A3E #A28E2A
monochromatic
#113141 #1D5571 #2A7AA2 #3D9DCD #6DB5D9

Accessibility & contrast

On white

4.77
#2A7AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2A7AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7AA2
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7AA2#FFFFFF#000000##FFFFFF
##2A7AA21.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6779A4
Deuteranopia (green-blind)
#566EA1
Tritanopia (blue-blind)
#008588
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a7aa2;
/* rgb */ color: rgb(42, 122, 162);
/* oklch */ color: oklch(55.0% 0.098 234.6);
Tailwind
colors: {
  custom: {
    50: '#74a0bd',
    500: '#2a7aa2',
    950: '#000000',
  },
}
SCSS
$custom: #2a7aa2;
$custom-light: #74a0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7aa2",
  "rgb": {
    "r": 42,
    "g": 122,
    "b": 162
  },
  "hsl": {
    "h": 200,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.54952,
    "c": 0.09792,
    "h": 234.6
  },
  "luminance": 0.1702
}

Semantic roles & 50–950 ramp

primary
#2A7AA2
secondary
#C08568
accent
#7A46E2
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A7AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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