#2A7B95#2A7B95

#2A7B95 is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.6% C 0.086 H 223.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2A7B95
RGBrgb(42, 123, 149)
HSLhsl(195, 56%, 37%)
HSVhsv(195, 72%, 58%)
CMYKcmyk(71.8%, 17.4%, 0%, 41.6%)
CIE-LABlab(48.04, -15.42, -21.11)
CIE-LCHlch(48.04, 26.14, 233.86°)
OKLaboklab(54.58% -0.0627 -0.059)
OKLCHoklch(54.58% 0.086 223.3)
XYZxyz(13.4604, 16.8266, 30.9664)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7B95 #95442A
analogous
#2A9579 #2A7B95 #2A4695
triadic
#2A7B95 #952A7B #7B952A
tetradic
#2A7B95 #792A95 #95442A #46952A
square
#2A7B95 #792A95 #95442A #46952A
split-complementary
#2A7B95 #952A46 #95792A
monochromatic
#0F2C36 #1D5465 #2A7B95 #37A2C5 #66B9D4

Accessibility & contrast

On white

4.81
#2A7B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2A7B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7B95
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7B95#FFFFFF#000000##FFFFFF
##2A7B951.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7896
Deuteranopia (green-blind)
#5D6D95
Tritanopia (blue-blind)
#008383
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2a7b95;
/* rgb */ color: rgb(42, 123, 149);
/* oklch */ color: oklch(54.6% 0.086 223.3);
Tailwind
colors: {
  custom: {
    50: '#72a1b4',
    500: '#2a7b95',
    950: '#000000',
  },
}
SCSS
$custom: #2a7b95;
$custom-light: #72a1b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7b95",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 149
  },
  "hsl": {
    "h": 194.579,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.54576,
    "c": 0.08609,
    "h": 223.3
  },
  "luminance": 0.16828
}

Semantic roles & 50–950 ramp

primary
#2A7B95
secondary
#BA7761
accent
#6D48DF
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #2A7B95

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

Preview Lab → · Contrast checker → · Palette generator →

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