#2D7591#2D7591

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

Color values

HEX#2D7591
RGBrgb(45, 117, 145)
HSLhsl(197, 53%, 37%)
HSVhsv(197, 69%, 57%)
CMYKcmyk(69%, 19.3%, 0%, 43.1%)
CIE-LABlab(46.07, -12.94, -21.77)
CIE-LCHlch(46.07, 25.33, 239.28°)
OKLaboklab(52.97% -0.0561 -0.0609)
OKLCHoklch(52.97% 0.083 227.3)
XYZxyz(12.5523, 15.3234, 29.0788)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7591 #91492D
analogous
#2D917B #2D7591 #2D4391
triadic
#2D7591 #912D75 #75912D
tetradic
#2D7591 #7B2D91 #91492D #43912D
square
#2D7591 #7B2D91 #91492D #43912D
split-complementary
#2D7591 #912D43 #917B2D
monochromatic
#102A34 #1F4F62 #2D7591 #3B9BC0 #68B3D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7591#FFFFFF#000000##FFFFFF
##2D75911.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)
#667392
Deuteranopia (green-blind)
#586991
Tritanopia (blue-blind)
#007D7E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d7591;
/* rgb */ color: rgb(45, 117, 145);
/* oklch */ color: oklch(53.0% 0.083 227.3);
Tailwind
colors: {
  custom: {
    50: '#729cb1',
    500: '#2d7591',
    950: '#000000',
  },
}
SCSS
$custom: #2d7591;
$custom-light: #729cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7591",
  "rgb": {
    "r": 45,
    "g": 117,
    "b": 145
  },
  "hsl": {
    "h": 196.8,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.52972,
    "c": 0.08284,
    "h": 227.3
  },
  "luminance": 0.15325
}

Semantic roles & 50–950 ramp

primary
#2D7591
secondary
#B77A63
accent
#744CDC
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2D7591

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

Preview Lab → · Contrast checker → · Palette generator →

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