#2D7FA5#2D7FA5

#2D7FA5 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.4% C 0.097 H 232.5°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2D7FA5
RGBrgb(45, 127, 165)
HSLhsl(199, 57%, 41%)
HSVhsv(199, 73%, 65%)
CMYKcmyk(72.7%, 23%, 0%, 35.3%)
CIE-LABlab(50.04, -11.71, -27.37)
CIE-LCHlch(50.04, 29.77, 246.83°)
OKLaboklab(56.42% -0.0591 -0.0769)
OKLCHoklch(56.42% 0.097 232.5)
XYZxyz(15.4604, 18.4515, 38.3367)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7FA5 #A5532D
analogous
#2DA58F #2D7FA5 #2D43A5
triadic
#2D7FA5 #A52D7F #7FA52D
tetradic
#2D7FA5 #8F2DA5 #A5532D #43A52D
square
#2D7FA5 #8F2DA5 #A5532D #43A52D
split-complementary
#2D7FA5 #A52D43 #A58F2D
monochromatic
#133545 #205A75 #2D7FA5 #43A1CC #73B9D9

Accessibility & contrast

On white

4.48
#2D7FA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#2D7FA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7FA5
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7FA5#FFFFFF#000000##000000
##2D7FA51.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7EA7
Deuteranopia (green-blind)
#5C72A4
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d7fa5;
/* rgb */ color: rgb(45, 127, 165);
/* oklch */ color: oklch(56.4% 0.097 232.5);
Tailwind
colors: {
  custom: {
    50: '#76a4c0',
    500: '#2d7fa5',
    950: '#000000',
  },
}
SCSS
$custom: #2d7fa5;
$custom-light: #76a4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7fa5",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 165
  },
  "hsl": {
    "h": 199,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.56418,
    "c": 0.09701,
    "h": 232.5
  },
  "luminance": 0.18453
}

Semantic roles & 50–950 ramp

primary
#2D7FA5
secondary
#C1886D
accent
#7847E0
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2D7FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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