#2D7FA3#2D7FA3

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

Color values

HEX#2D7FA3
RGBrgb(45, 127, 163)
HSLhsl(198, 57%, 41%)
HSVhsv(198, 72%, 64%)
CMYKcmyk(72.4%, 22.1%, 0%, 36.1%)
CIE-LABlab(49.95, -12.41, -26.34)
CIE-LCHlch(49.95, 29.11, 244.77°)
OKLaboklab(56.32% -0.0598 -0.0739)
OKLCHoklch(56.32% 0.095 231)
XYZxyz(15.2798, 18.3792, 37.3855)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7FA3 #A3512D
analogous
#2DA38C #2D7FA3 #2D44A3
triadic
#2D7FA3 #A32D7F #7FA32D
tetradic
#2D7FA3 #8C2DA3 #A3512D #44A32D
square
#2D7FA3 #8C2DA3 #A3512D #44A32D
split-complementary
#2D7FA3 #A32D44 #A38C2D
monochromatic
#133443 #205A73 #2D7FA3 #42A1CB #72B9D8

Accessibility & contrast

On white

4.49
#2D7FA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D7FA3#FFFFFF#000000##000000
##2D7FA31.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d7fa3;
/* rgb */ color: rgb(45, 127, 163);
/* oklch */ color: oklch(56.3% 0.095 231.0);
Tailwind
colors: {
  custom: {
    50: '#76a4be',
    500: '#2d7fa3',
    950: '#000000',
  },
}
SCSS
$custom: #2d7fa3;
$custom-light: #76a4be;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7fa3",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 163
  },
  "hsl": {
    "h": 198.305,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5632,
    "c": 0.09513,
    "h": 231
  },
  "luminance": 0.18381
}

Semantic roles & 50–950 ramp

primary
#2D7FA3
secondary
#C0866C
accent
#7648E0
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2D7FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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