#2A7BA2#2A7BA2

#2A7BA2 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.2% C 0.097 H 233.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2A7BA2
RGBrgb(42, 123, 162)
HSLhsl(200, 59%, 40%)
HSVhsv(200, 74%, 64%)
CMYKcmyk(74.1%, 24.1%, 0%, 36.5%)
CIE-LABlab(48.59, -10.90, -27.87)
CIE-LCHlch(48.59, 29.93, 248.64°)
OKLaboklab(55.2% -0.0577 -0.0784)
OKLCHoklch(55.2% 0.097 233.6)
XYZxyz(14.5568, 17.2651, 36.7407)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7BA2 #A2512A
analogous
#2AA28D #2A7BA2 #2A3FA2
triadic
#2A7BA2 #A22A7B #7BA22A
tetradic
#2A7BA2 #8D2AA2 #A2512A #3FA22A
square
#2A7BA2 #8D2AA2 #A2512A #3FA22A
split-complementary
#2A7BA2 #A22A3F #A28D2A
monochromatic
#113141 #1D5671 #2A7BA2 #3D9ECD #6DB6D9

Accessibility & contrast

On white

4.72
#2A7BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#2A7BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7BA2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7BA2#FFFFFF#000000##FFFFFF
##2A7BA21.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687AA4
Deuteranopia (green-blind)
#586EA1
Tritanopia (blue-blind)
#008588
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2a7ba2;
/* rgb */ color: rgb(42, 123, 162);
/* oklch */ color: oklch(55.2% 0.097 233.6);
Tailwind
colors: {
  custom: {
    50: '#74a1bd',
    500: '#2a7ba2',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ba2;
$custom-light: #74a1bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ba2",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 162
  },
  "hsl": {
    "h": 199.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.55199,
    "c": 0.09738,
    "h": 233.6
  },
  "luminance": 0.17267
}

Semantic roles & 50–950 ramp

primary
#2A7BA2
secondary
#C08468
accent
#7946E2
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2A7BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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