#2A7993#2A7993

#2A7993 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.0% C 0.085 H 223.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2A7993
RGBrgb(42, 121, 147)
HSLhsl(195, 56%, 37%)
HSVhsv(195, 71%, 58%)
CMYKcmyk(71.4%, 17.7%, 0%, 42.4%)
CIE-LABlab(47.33, -14.98, -21.03)
CIE-LCHlch(47.33, 25.82, 234.53°)
OKLaboklab(53.98% -0.0613 -0.0588)
OKLCHoklch(53.98% 0.085 223.8)
XYZxyz(13.0565, 16.2721, 30.0508)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7993 #93442A
analogous
#2A9379 #2A7993 #2A4593
triadic
#2A7993 #932A79 #79932A
tetradic
#2A7993 #792A93 #93442A #45932A
square
#2A7993 #792A93 #93442A #45932A
split-complementary
#2A7993 #932A45 #93792A
monochromatic
#0F2B34 #1C5263 #2A7993 #38A0C3 #65B8D3

Accessibility & contrast

On white

4.94
#2A7993 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#2A7993 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7993
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7993#FFFFFF#000000##FFFFFF
##2A79931.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7694
Deuteranopia (green-blind)
#5C6C93
Tritanopia (blue-blind)
#008181
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2a7993;
/* rgb */ color: rgb(42, 121, 147);
/* oklch */ color: oklch(54.0% 0.085 223.8);
Tailwind
colors: {
  custom: {
    50: '#729fb2',
    500: '#2a7993',
    950: '#000000',
  },
}
SCSS
$custom: #2a7993;
$custom-light: #729fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7993",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 147
  },
  "hsl": {
    "h": 194.857,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.53979,
    "c": 0.08497,
    "h": 223.8
  },
  "luminance": 0.16274
}

Semantic roles & 50–950 ramp

primary
#2A7993
secondary
#B97660
accent
#6E49DF
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A7993

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

Preview Lab → · Contrast checker → · Palette generator →

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