#4072DD#4072DD

#4072DD is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.5% C 0.172 H 263.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4072DD
RGBrgb(64, 114, 221)
HSLhsl(221, 70%, 56%)
HSVhsv(221, 71%, 87%)
CMYKcmyk(71%, 48.4%, 0%, 13.3%)
CIE-LABlab(49.91, 19.03, -59.65)
CIE-LCHlch(49.91, 62.61, 287.70°)
OKLaboklab(57.47% -0.0204 -0.1712)
OKLCHoklch(57.47% 0.172 263.2)
XYZxyz(21.1782, 18.3428, 70.8170)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4072DD #DDAB40
analogous
#40C0DD #4072DD #5C40DD
triadic
#4072DD #DD4072 #72DD40
tetradic
#4072DD #DD40C0 #DDAB40 #40DD5C
square
#4072DD #DD40C0 #DDAB40 #40DD5C
split-complementary
#4072DD #DD5C40 #C0DD40
monochromatic
#193D8A #2254BE #4072DD #7498E6 #A8BFEF

Accessibility & contrast

On white

4.50
#4072DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#4072DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4072DD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4072DD#FFFFFF#000000##000000
##4072DD1.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)
#367EE1
Deuteranopia (green-blind)
#0070DB
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4072dd;
/* rgb */ color: rgb(64, 114, 221);
/* oklch */ color: oklch(57.5% 0.172 263.2);
Tailwind
colors: {
  custom: {
    50: '#8799e8',
    500: '#4072dd',
    950: '#000000',
  },
}
SCSS
$custom: #4072dd;
$custom-light: #8799e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4072dd",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 221
  },
  "hsl": {
    "h": 220.892,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57468,
    "c": 0.17241,
    "h": 263.2
  },
  "luminance": 0.18345
}

Semantic roles & 50–950 ramp

primary
#4072DD
secondary
#DDC89C
accent
#B43BED
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4072DD

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

Preview Lab → · Contrast checker → · Palette generator →

#4072DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva