#2D7FA7#2D7FA7

#2D7FA7 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.5% C 0.099 H 233.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2D7FA7
RGBrgb(45, 127, 167)
HSLhsl(200, 58%, 42%)
HSVhsv(200, 73%, 65%)
CMYKcmyk(73.1%, 24%, 0%, 34.5%)
CIE-LABlab(50.13, -11.02, -28.39)
CIE-LCHlch(50.13, 30.45, 248.79°)
OKLaboklab(56.52% -0.0584 -0.0799)
OKLCHoklch(56.52% 0.099 233.8)
XYZxyz(15.6438, 18.5249, 39.3029)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7FA7 #A7552D
analogous
#2DA792 #2D7FA7 #2D42A7
triadic
#2D7FA7 #A72D7F #7FA72D
tetradic
#2D7FA7 #922DA7 #A7552D #42A72D
square
#2D7FA7 #922DA7 #A7552D #42A72D
split-complementary
#2D7FA7 #A72D42 #A7922D
monochromatic
#133647 #205A77 #2D7FA7 #44A0CD #75B9DA

Accessibility & contrast

On white

4.46
#2D7FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2D7FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7FA7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7FA7#FFFFFF#000000##000000
##2D7FA71.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7EA9
Deuteranopia (green-blind)
#5B72A6
Tritanopia (blue-blind)
#008A8C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d7fa7;
/* rgb */ color: rgb(45, 127, 167);
/* oklch */ color: oklch(56.5% 0.099 233.8);
Tailwind
colors: {
  custom: {
    50: '#76a4c1',
    500: '#2d7fa7',
    950: '#000000',
  },
}
SCSS
$custom: #2d7fa7;
$custom-light: #76a4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7fa7",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 167
  },
  "hsl": {
    "h": 199.672,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.56516,
    "c": 0.09894,
    "h": 233.8
  },
  "luminance": 0.18527
}

Semantic roles & 50–950 ramp

primary
#2D7FA7
secondary
#C18A6E
accent
#7947E1
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2D7FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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