#2D7FA2#2D7FA2

#2D7FA2 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.3% C 0.094 H 230.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2D7FA2
RGBrgb(45, 127, 162)
HSLhsl(198, 57%, 41%)
HSVhsv(198, 72%, 64%)
CMYKcmyk(72.2%, 21.6%, 0%, 36.5%)
CIE-LABlab(49.91, -12.75, -25.82)
CIE-LCHlch(49.91, 28.80, 243.71°)
OKLaboklab(56.27% -0.0602 -0.0725)
OKLCHoklch(56.27% 0.094 230.3)
XYZxyz(15.1905, 18.3435, 36.9155)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7FA2 #A2502D
analogous
#2DA28A #2D7FA2 #2D44A2
triadic
#2D7FA2 #A22D7F #7FA22D
tetradic
#2D7FA2 #8A2DA2 #A2502D #44A22D
square
#2D7FA2 #8A2DA2 #A2502D #44A22D
split-complementary
#2D7FA2 #A22D44 #A28A2D
monochromatic
#123442 #205972 #2D7FA2 #42A2CA #72B9D8

Accessibility & contrast

On white

4.50
#2D7FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#2D7FA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7FA2
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7FA2#FFFFFF#000000##000000
##2D7FA21.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d7fa2;
/* rgb */ color: rgb(45, 127, 162);
/* oklch */ color: oklch(56.3% 0.094 230.3);
Tailwind
colors: {
  custom: {
    50: '#76a4bd',
    500: '#2d7fa2',
    950: '#000000',
  },
}
SCSS
$custom: #2d7fa2;
$custom-light: #76a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7fa2",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 197.949,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.56272,
    "c": 0.09423,
    "h": 230.3
  },
  "luminance": 0.18345
}

Semantic roles & 50–950 ramp

primary
#2D7FA2
secondary
#BF856C
accent
#7548E0
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2D7FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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