#2D7FA0#2D7FA0

#2D7FA0 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.2% C 0.092 H 228.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2D7FA0
RGBrgb(45, 127, 160)
HSLhsl(197, 56%, 40%)
HSVhsv(197, 72%, 63%)
CMYKcmyk(71.9%, 20.6%, 0%, 37.3%)
CIE-LABlab(49.83, -13.44, -24.79)
CIE-LCHlch(49.83, 28.20, 241.53°)
OKLaboklab(56.18% -0.061 -0.0695)
OKLCHoklch(56.18% 0.092 228.7)
XYZxyz(15.0142, 18.2730, 35.9866)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7FA0 #A04E2D
analogous
#2DA087 #2D7FA0 #2D46A0
triadic
#2D7FA0 #A02D7F #7FA02D
tetradic
#2D7FA0 #872DA0 #A04E2D #46A02D
square
#2D7FA0 #872DA0 #A04E2D #46A02D
split-complementary
#2D7FA0 #A02D46 #A0872D
monochromatic
#123340 #205970 #2D7FA0 #41A2C9 #70BAD7

Accessibility & contrast

On white

4.51
#2D7FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#2D7FA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7FA0
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7FA0#FFFFFF#000000##000000
##2D7FA01.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7DA2
Deuteranopia (green-blind)
#5E72A0
Tritanopia (blue-blind)
#00888A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2d7fa0;
/* rgb */ color: rgb(45, 127, 160);
/* oklch */ color: oklch(56.2% 0.092 228.7);
Tailwind
colors: {
  custom: {
    50: '#75a4bc',
    500: '#2d7fa0',
    950: '#000000',
  },
}
SCSS
$custom: #2d7fa0;
$custom-light: #75a4bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7fa0",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 160
  },
  "hsl": {
    "h": 197.217,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.56177,
    "c": 0.09246,
    "h": 228.7
  },
  "luminance": 0.18275
}

Semantic roles & 50–950 ramp

primary
#2D7FA0
secondary
#BE836B
accent
#7448DF
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #2D7FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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