#2D72A1#2D72A1

#2D72A1 is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.0% C 0.101 H 242.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2D72A1
RGBrgb(45, 114, 161)
HSLhsl(204, 56%, 40%)
HSVhsv(204, 72%, 63%)
CMYKcmyk(72%, 29.2%, 0%, 36.9%)
CIE-LABlab(45.86, -5.56, -31.55)
CIE-LCHlch(45.86, 32.03, 260.00°)
OKLaboklab(53.04% -0.0472 -0.0891)
OKLCHoklch(53.04% 0.101 242.1)
XYZxyz(13.5300, 15.1642, 35.9252)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D72A1 #A15C2D
analogous
#2DA196 #2D72A1 #2D38A1
triadic
#2D72A1 #A12D72 #72A12D
tetradic
#2D72A1 #962DA1 #A15C2D #38A12D
square
#2D72A1 #962DA1 #A15C2D #38A12D
split-complementary
#2D72A1 #A12D38 #A1962D
monochromatic
#122E41 #205071 #2D72A1 #4193CA #71AED7

Accessibility & contrast

On white

5.21
#2D72A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2D72A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D72A1
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D72A1#FFFFFF#000000##FFFFFF
##2D72A11.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C73A3
Deuteranopia (green-blind)
#4C68A0
Tritanopia (blue-blind)
#007E82
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2d72a1;
/* rgb */ color: rgb(45, 114, 161);
/* oklch */ color: oklch(53.0% 0.101 242.1);
Tailwind
colors: {
  custom: {
    50: '#759abd',
    500: '#2d72a1',
    950: '#000000',
  },
}
SCSS
$custom: #2d72a1;
$custom-light: #759abd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d72a1",
  "rgb": {
    "r": 45,
    "g": 114,
    "b": 161
  },
  "hsl": {
    "h": 204.31,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.53037,
    "c": 0.10086,
    "h": 242.1
  },
  "luminance": 0.15166
}

Semantic roles & 50–950 ramp

primary
#2D72A1
secondary
#BF8D6B
accent
#8648E0
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2D72A1

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

Preview Lab → · Contrast checker → · Palette generator →

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