#2A7191#2A7191

#2A7191 is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 51.9% C 0.086 H 231.3°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2A7191
RGBrgb(42, 113, 145)
HSLhsl(199, 55%, 37%)
HSVhsv(199, 71%, 57%)
CMYKcmyk(71%, 22.1%, 0%, 43.1%)
CIE-LABlab(44.72, -11.13, -23.86)
CIE-LCHlch(44.72, 26.33, 245.00°)
OKLaboklab(51.87% -0.0536 -0.067)
OKLCHoklch(51.87% 0.086 231.3)
XYZxyz(11.9688, 14.3455, 28.9207)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7191 #914A2A
analogous
#2A917E #2A7191 #2A3E91
triadic
#2A7191 #912A71 #71912A
tetradic
#2A7191 #7E2A91 #914A2A #3E912A
square
#2A7191 #7E2A91 #914A2A #3E912A
split-complementary
#2A7191 #912A3E #917E2A
monochromatic
#0F2732 #1C4C62 #2A7191 #3896C0 #63B0D2

Accessibility & contrast

On white

5.43
#2A7191 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2A7191 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7191
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7191#FFFFFF#000000##FFFFFF
##2A71911.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617093
Deuteranopia (green-blind)
#536591
Tritanopia (blue-blind)
#007A7C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a7191;
/* rgb */ color: rgb(42, 113, 145);
/* oklch */ color: oklch(51.9% 0.086 231.3);
Tailwind
colors: {
  custom: {
    50: '#7199b1',
    500: '#2a7191',
    950: '#000000',
  },
}
SCSS
$custom: #2a7191;
$custom-light: #7199b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7191",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 145
  },
  "hsl": {
    "h": 198.641,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.51869,
    "c": 0.08577,
    "h": 231.3
  },
  "luminance": 0.14347
}

Semantic roles & 50–950 ramp

primary
#2A7191
secondary
#B87B5F
accent
#7849DE
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2A7191

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

Preview Lab → · Contrast checker → · Palette generator →

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