#2A7593#2A7593

#2A7593 is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 53.0% C 0.086 H 228.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2A7593
RGBrgb(42, 117, 147)
HSLhsl(197, 56%, 37%)
HSVhsv(197, 71%, 58%)
CMYKcmyk(71.4%, 20.4%, 0%, 42.4%)
CIE-LABlab(46.07, -12.73, -22.97)
CIE-LCHlch(46.07, 26.26, 241.01°)
OKLaboklab(52.97% -0.0571 -0.0644)
OKLCHoklch(52.97% 0.086 228.4)
XYZxyz(12.5805, 15.3200, 29.8921)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7593 #93482A
analogous
#2A937D #2A7593 #2A4093
triadic
#2A7593 #932A75 #75932A
tetradic
#2A7593 #7D2A93 #93482A #40932A
square
#2A7593 #7D2A93 #93482A #40932A
split-complementary
#2A7593 #932A40 #937D2A
monochromatic
#0F2934 #1C4F63 #2A7593 #389BC3 #65B3D3

Accessibility & contrast

On white

5.17
#2A7593 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2A7593 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7593
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7593#FFFFFF#000000##FFFFFF
##2A75931.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657394
Deuteranopia (green-blind)
#576993
Tritanopia (blue-blind)
#007D7F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a7593;
/* rgb */ color: rgb(42, 117, 147);
/* oklch */ color: oklch(53.0% 0.086 228.4);
Tailwind
colors: {
  custom: {
    50: '#729cb2',
    500: '#2a7593',
    950: '#000000',
  },
}
SCSS
$custom: #2a7593;
$custom-light: #729cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7593",
  "rgb": {
    "r": 42,
    "g": 117,
    "b": 147
  },
  "hsl": {
    "h": 197.143,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.52971,
    "c": 0.08604,
    "h": 228.4
  },
  "luminance": 0.15321
}

Semantic roles & 50–950 ramp

primary
#2A7593
secondary
#B97960
accent
#7449DF
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2A7593

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

Preview Lab → · Contrast checker → · Palette generator →

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