#2D7FA6#2D7FA6

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

Color values

HEX#2D7FA6
RGBrgb(45, 127, 166)
HSLhsl(199, 57%, 41%)
HSVhsv(199, 73%, 65%)
CMYKcmyk(72.9%, 23.5%, 0%, 34.9%)
CIE-LABlab(50.08, -11.36, -27.88)
CIE-LCHlch(50.08, 30.11, 247.82°)
OKLaboklab(56.47% -0.0587 -0.0784)
OKLCHoklch(56.47% 0.098 233.1)
XYZxyz(15.5518, 18.4880, 38.8179)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7FA6 #A6542D
analogous
#2DA691 #2D7FA6 #2D43A6
triadic
#2D7FA6 #A62D7F #7FA62D
tetradic
#2D7FA6 #912DA6 #A6542D #43A62D
square
#2D7FA6 #912DA6 #A6542D #43A62D
split-complementary
#2D7FA6 #A62D43 #A6912D
monochromatic
#133546 #205A76 #2D7FA6 #44A0CC #74B9D9

Accessibility & contrast

On white

4.47
#2D7FA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#2D7FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7FA6
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7FA6#FFFFFF#000000##000000
##2D7FA61.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d7fa6;
/* rgb */ color: rgb(45, 127, 166);
/* oklch */ color: oklch(56.5% 0.098 233.1);
Tailwind
colors: {
  custom: {
    50: '#76a4c0',
    500: '#2d7fa6',
    950: '#000000',
  },
}
SCSS
$custom: #2d7fa6;
$custom-light: #76a4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7fa6",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 166
  },
  "hsl": {
    "h": 199.339,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.56467,
    "c": 0.09796,
    "h": 233.1
  },
  "luminance": 0.1849
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D7FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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