#2D7197#2D7197

#2D7197 is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.3% C 0.090 H 236.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2D7197
RGBrgb(45, 113, 151)
HSLhsl(202, 54%, 38%)
HSVhsv(202, 70%, 59%)
CMYKcmyk(70.2%, 25.2%, 0%, 40.8%)
CIE-LABlab(45.08, -8.54, -26.86)
CIE-LCHlch(45.08, 28.18, 252.36°)
OKLaboklab(52.27% -0.0496 -0.0756)
OKLCHoklch(52.27% 0.09 236.7)
XYZxyz(12.5710, 14.6011, 31.4279)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7197 #97532D
analogous
#2D9788 #2D7197 #2D3C97
triadic
#2D7197 #972D71 #71972D
tetradic
#2D7197 #882D97 #97532D #3C972D
square
#2D7197 #882D97 #97532D #3C972D
split-complementary
#2D7197 #972D3C #97882D
monochromatic
#112A39 #1F4E68 #2D7197 #3C94C5 #6BAED3

Accessibility & contrast

On white

5.36
#2D7197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2D7197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7197
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7197#FFFFFF#000000##FFFFFF
##2D71971.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7099
Deuteranopia (green-blind)
#506696
Tritanopia (blue-blind)
#007B7E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2d7197;
/* rgb */ color: rgb(45, 113, 151);
/* oklch */ color: oklch(52.3% 0.090 236.7);
Tailwind
colors: {
  custom: {
    50: '#7399b5',
    500: '#2d7197',
    950: '#000000',
  },
}
SCSS
$custom: #2d7197;
$custom-light: #7399b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7197",
  "rgb": {
    "r": 45,
    "g": 113,
    "b": 151
  },
  "hsl": {
    "h": 201.509,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.52268,
    "c": 0.09038,
    "h": 236.7
  },
  "luminance": 0.14603
}

Semantic roles & 50–950 ramp

primary
#2D7197
secondary
#BA8466
accent
#7F4ADD
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2D7197

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

Preview Lab → · Contrast checker → · Palette generator →

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