#2A7BA6#2A7BA6

#2A7BA6 is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.4% C 0.101 H 236.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2A7BA6
RGBrgb(42, 123, 166)
HSLhsl(201, 60%, 41%)
HSVhsv(201, 75%, 65%)
CMYKcmyk(74.7%, 25.9%, 0%, 34.9%)
CIE-LABlab(48.77, -9.48, -29.93)
CIE-LCHlch(48.77, 31.39, 252.42°)
OKLaboklab(55.4% -0.0563 -0.0844)
OKLCHoklch(55.4% 0.101 236.3)
XYZxyz(14.9180, 17.4096, 38.6432)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7BA6 #A6552A
analogous
#2AA693 #2A7BA6 #2A3DA6
triadic
#2A7BA6 #A62A7B #7BA62A
tetradic
#2A7BA6 #932AA6 #A6552A #3DA62A
square
#2A7BA6 #932AA6 #A6552A #3DA62A
split-complementary
#2A7BA6 #A62A3D #A6932A
monochromatic
#113344 #1E5775 #2A7BA6 #3F9DCE #70B6DB

Accessibility & contrast

On white

4.69
#2A7BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2A7BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7BA6
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7BA6#FFFFFF#000000##FFFFFF
##2A7BA61.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667AA8
Deuteranopia (green-blind)
#566FA5
Tritanopia (blue-blind)
#00868A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a7ba6;
/* rgb */ color: rgb(42, 123, 166);
/* oklch */ color: oklch(55.4% 0.101 236.3);
Tailwind
colors: {
  custom: {
    50: '#75a1c0',
    500: '#2a7ba6',
    950: '#000000',
  },
}
SCSS
$custom: #2a7ba6;
$custom-light: #75a1c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7ba6",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 166
  },
  "hsl": {
    "h": 200.806,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.55401,
    "c": 0.10142,
    "h": 236.3
  },
  "luminance": 0.17411
}

Semantic roles & 50–950 ramp

primary
#2A7BA6
secondary
#C2886A
accent
#7C45E3
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2A7BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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