#2D7FA4#2D7FA4

#2D7FA4 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.4% C 0.096 H 231.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2D7FA4
RGBrgb(45, 127, 164)
HSLhsl(199, 57%, 41%)
HSVhsv(199, 73%, 64%)
CMYKcmyk(72.6%, 22.6%, 0%, 35.7%)
CIE-LABlab(50.00, -12.06, -26.85)
CIE-LCHlch(50.00, 29.44, 245.81°)
OKLaboklab(56.37% -0.0595 -0.0754)
OKLCHoklch(56.37% 0.096 231.7)
XYZxyz(15.3697, 18.4152, 37.8592)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7FA4 #A4522D
analogous
#2DA48D #2D7FA4 #2D44A4
triadic
#2D7FA4 #A42D7F #7FA42D
tetradic
#2D7FA4 #8D2DA4 #A4522D #44A42D
square
#2D7FA4 #8D2DA4 #A4522D #44A42D
split-complementary
#2D7FA4 #A42D44 #A48D2D
monochromatic
#133544 #205A74 #2D7FA4 #43A1CB #73B9D9

Accessibility & contrast

On white

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

On black

4.68
#2D7FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7FA4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7FA4#FFFFFF#000000##000000
##2D7FA41.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7DA6
Deuteranopia (green-blind)
#5C72A3
Tritanopia (blue-blind)
#00898B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d7fa4;
/* rgb */ color: rgb(45, 127, 164);
/* oklch */ color: oklch(56.4% 0.096 231.7);
Tailwind
colors: {
  custom: {
    50: '#76a4bf',
    500: '#2d7fa4',
    950: '#000000',
  },
}
SCSS
$custom: #2d7fa4;
$custom-light: #76a4bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7fa4",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 164
  },
  "hsl": {
    "h": 198.655,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.56369,
    "c": 0.09606,
    "h": 231.7
  },
  "luminance": 0.18417
}

Semantic roles & 50–950 ramp

primary
#2D7FA4
secondary
#C0876D
accent
#7748E0
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2D7FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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