#2A7E9B#2A7E9B

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

Color values

HEX#2A7E9B
RGBrgb(42, 126, 155)
HSLhsl(195, 57%, 39%)
HSVhsv(195, 73%, 61%)
CMYKcmyk(72.9%, 18.7%, 0%, 39.2%)
CIE-LABlab(49.23, -15.04, -22.80)
CIE-LCHlch(49.23, 27.31, 236.60°)
OKLaboklab(55.61% -0.0634 -0.0638)
OKLCHoklch(55.61% 0.09 225.2)
XYZxyz(14.3297, 17.7789, 33.6804)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7E9B #9B472A
analogous
#2A9B7F #2A7E9B #2A459B
triadic
#2A7E9B #9B2A7E #7E9B2A
tetradic
#2A7E9B #7F2A9B #9B472A #459B2A
square
#2A7E9B #7F2A9B #9B472A #459B2A
split-complementary
#2A7E9B #9B2A45 #9B7F2A
monochromatic
#10303B #1D576B #2A7E9B #39A4C9 #69BAD6

Accessibility & contrast

On white

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

On black

4.56
#2A7E9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A7E9B#FFFFFF#000000##FFFFFF
##2A7E9B1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7B9C
Deuteranopia (green-blind)
#5F709B
Tritanopia (blue-blind)
#008787
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2a7e9b;
/* rgb */ color: rgb(42, 126, 155);
/* oklch */ color: oklch(55.6% 0.090 225.2);
Tailwind
colors: {
  custom: {
    50: '#73a3b8',
    500: '#2a7e9b',
    950: '#000000',
  },
}
SCSS
$custom: #2a7e9b;
$custom-light: #73a3b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7e9b",
  "rgb": {
    "r": 42,
    "g": 126,
    "b": 155
  },
  "hsl": {
    "h": 195.398,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.55606,
    "c": 0.08999,
    "h": 225.2
  },
  "luminance": 0.17781
}

Semantic roles & 50–950 ramp

primary
#2A7E9B
secondary
#BD7B64
accent
#6F47E1
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #2A7E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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