#2A7E9F#2A7E9F

#2A7E9F is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 55.8% C 0.093 H 228.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#2A7E9F
RGBrgb(42, 126, 159)
HSLhsl(197, 58%, 39%)
HSVhsv(197, 74%, 62%)
CMYKcmyk(73.6%, 20.8%, 0%, 37.6%)
CIE-LABlab(49.39, -13.66, -24.88)
CIE-LCHlch(49.39, 28.38, 241.24°)
OKLaboklab(55.79% -0.0619 -0.0698)
OKLCHoklch(55.79% 0.093 228.4)
XYZxyz(14.6712, 17.9155, 35.4790)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7E9F #9F4B2A
analogous
#2A9F86 #2A7E9F #2A449F
triadic
#2A7E9F #9F2A7E #7E9F2A
tetradic
#2A7E9F #862A9F #9F4B2A #449F2A
square
#2A7E9F #862A9F #9F4B2A #449F2A
split-complementary
#2A7E9F #9F2A44 #9F862A
monochromatic
#10313E #1D586F #2A7E9F #3BA3CB #6BB9D8

Accessibility & contrast

On white

4.58
#2A7E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#2A7E9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A7E9F
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7E9F#FFFFFF#000000##000000
##2A7E9F1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a7e9f;
/* rgb */ color: rgb(42, 126, 159);
/* oklch */ color: oklch(55.8% 0.093 228.4);
Tailwind
colors: {
  custom: {
    50: '#74a3bb',
    500: '#2a7e9f',
    950: '#000000',
  },
}
SCSS
$custom: #2a7e9f;
$custom-light: #74a3bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7e9f",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 159
  },
  "hsl": {
    "h": 196.923,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.55795,
    "c": 0.09328,
    "h": 228.4
  },
  "luminance": 0.17917
}

Semantic roles & 50–950 ramp

primary
#2A7E9F
secondary
#BF7F66
accent
#7246E1
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #2A7E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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