#2D72D8#2D72D8

#2D72D8 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.4% C 0.171 H 258.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#2D72D8
RGBrgb(45, 114, 216)
HSLhsl(216, 69%, 51%)
HSVhsv(216, 79%, 85%)
CMYKcmyk(79.2%, 47.2%, 0%, 15.3%)
CIE-LABlab(48.94, 14.92, -58.40)
CIE-LCHlch(48.94, 60.28, 284.33°)
OKLaboklab(56.44% -0.034 -0.1678)
OKLCHoklch(56.44% 0.171 258.6)
XYZxyz(19.4896, 17.5481, 67.3124)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D72D8 #D8932D
analogous
#2DC8D8 #2D72D8 #3D2DD8
triadic
#2D72D8 #D82D72 #72D82D
tetradic
#2D72D8 #D82DC8 #D8932D #2DD83D
square
#2D72D8 #D82DC8 #D8932D #2DD83D
split-complementary
#2D72D8 #D83D2D #C8D82D
monochromatic
#163C75 #1F57A9 #2D72D8 #6195E2 #94B7EB

Accessibility & contrast

On white

4.66
#2D72D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#2D72D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D72D8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D72D8#FFFFFF#000000##FFFFFF
##2D72D81.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#397DDC
Deuteranopia (green-blind)
#006DD6
Tritanopia (blue-blind)
#008A9A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d72d8;
/* rgb */ color: rgb(45, 114, 216);
/* oklch */ color: oklch(56.4% 0.171 258.6);
Tailwind
colors: {
  custom: {
    50: '#8099e5',
    500: '#2d72d8',
    950: '#000000',
  },
}
SCSS
$custom: #2d72d8;
$custom-light: #8099e5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d72d8",
  "rgb": {
    "r": 45,
    "g": 114,
    "b": 216
  },
  "hsl": {
    "h": 215.789,
    "s": 68.675,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56444,
    "c": 0.17124,
    "h": 258.6
  },
  "luminance": 0.1755
}

Semantic roles & 50–950 ramp

primary
#2D72D8
secondary
#D6B88B
accent
#A53CEC
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0D16
muted
#7D7E84

Preview Lab

Preview with #2D72D8

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

Preview Lab → · Contrast checker → · Palette generator →

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