#2A7591#2A7591

#2A7591 is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 52.9% C 0.084 H 226.7°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#2A7591
RGBrgb(42, 117, 145)
HSLhsl(196, 55%, 37%)
HSVhsv(196, 71%, 57%)
CMYKcmyk(71%, 19.3%, 0%, 43.1%)
CIE-LABlab(45.99, -13.42, -21.92)
CIE-LCHlch(45.99, 25.70, 238.52°)
OKLaboklab(52.88% -0.0579 -0.0613)
OKLCHoklch(52.88% 0.084 226.7)
XYZxyz(12.4249, 15.2578, 29.0728)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7591 #91462A
analogous
#2A917A #2A7591 #2A4291
triadic
#2A7591 #912A75 #75912A
tetradic
#2A7591 #7A2A91 #91462A #42912A
square
#2A7591 #7A2A91 #91462A #42912A
split-complementary
#2A7591 #912A42 #917A2A
monochromatic
#0F2832 #1C4F62 #2A7591 #389BC0 #63B4D2

Accessibility & contrast

On white

5.18
#2A7591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#2A7591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7591
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7591#FFFFFF#000000##FFFFFF
##2A75911.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667392
Deuteranopia (green-blind)
#586891
Tritanopia (blue-blind)
#007D7E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a7591;
/* rgb */ color: rgb(42, 117, 145);
/* oklch */ color: oklch(52.9% 0.084 226.7);
Tailwind
colors: {
  custom: {
    50: '#719cb1',
    500: '#2a7591',
    950: '#000000',
  },
}
SCSS
$custom: #2a7591;
$custom-light: #719cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7591",
  "rgb": {
    "r": 42,
    "g": 117,
    "b": 145
  },
  "hsl": {
    "h": 196.311,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.52876,
    "c": 0.08434,
    "h": 226.7
  },
  "luminance": 0.15259
}

Semantic roles & 50–950 ramp

primary
#2A7591
secondary
#B8775F
accent
#7249DE
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2A7591

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

Preview Lab → · Contrast checker → · Palette generator →

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