#2D7FA1#2D7FA1

#2D7FA1 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.2% C 0.093 H 229.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2D7FA1
RGBrgb(45, 127, 161)
HSLhsl(198, 56%, 40%)
HSVhsv(198, 72%, 63%)
CMYKcmyk(72%, 21.1%, 0%, 36.9%)
CIE-LABlab(49.87, -13.10, -25.30)
CIE-LCHlch(49.87, 28.49, 242.63°)
OKLaboklab(56.22% -0.0606 -0.071)
OKLCHoklch(56.22% 0.093 229.5)
XYZxyz(15.1020, 18.3081, 36.4492)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7FA1 #A14F2D
analogous
#2DA189 #2D7FA1 #2D45A1
triadic
#2D7FA1 #A12D7F #7FA12D
tetradic
#2D7FA1 #892DA1 #A14F2D #45A12D
square
#2D7FA1 #892DA1 #A14F2D #45A12D
split-complementary
#2D7FA1 #A12D45 #A1892D
monochromatic
#123441 #205971 #2D7FA1 #41A2CA #71B9D7

Accessibility & contrast

On white

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

On black

4.66
#2D7FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D7FA1
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7FA1#FFFFFF#000000##000000
##2D7FA11.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7DA3
Deuteranopia (green-blind)
#5E72A1
Tritanopia (blue-blind)
#00888A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d7fa1;
/* rgb */ color: rgb(45, 127, 161);
/* oklch */ color: oklch(56.2% 0.093 229.5);
Tailwind
colors: {
  custom: {
    50: '#76a4bd',
    500: '#2d7fa1',
    950: '#000000',
  },
}
SCSS
$custom: #2d7fa1;
$custom-light: #76a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7fa1",
  "rgb": {
    "r": 45,
    "g": 127,
    "b": 161
  },
  "hsl": {
    "h": 197.586,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.56224,
    "c": 0.09333,
    "h": 229.5
  },
  "luminance": 0.1831
}

Semantic roles & 50–950 ramp

primary
#2D7FA1
secondary
#BF846B
accent
#7548E0
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #2D7FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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