#4072CD#4072CD

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

Color values

HEX#4072CD
RGBrgb(64, 114, 205)
HSLhsl(219, 59%, 53%)
HSVhsv(219, 69%, 80%)
CMYKcmyk(68.8%, 44.4%, 0%, 19.6%)
CIE-LABlab(48.92, 13.27, -52.14)
CIE-LCHlch(48.92, 53.81, 284.28°)
OKLaboklab(56.39% -0.0229 -0.1491)
OKLCHoklch(56.39% 0.151 261.3)
XYZxyz(19.1472, 17.5304, 60.1204)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4072CD #CD9B40
analogous
#40B9CD #4072CD #5440CD
triadic
#4072CD #CD4072 #72CD40
tetradic
#4072CD #CD40B9 #CD9B40 #40CD54
square
#4072CD #CD40B9 #CD9B40 #40CD54
split-complementary
#4072CD #CD5440 #B9CD40
monochromatic
#1E3D74 #2B56A5 #4072CD #7196DA #A1BAE6

Accessibility & contrast

On white

4.66
#4072CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#4072CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4072CD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4072CD#FFFFFF#000000##FFFFFF
##4072CD1.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)
#457BD0
Deuteranopia (green-blind)
#2B6ECB
Tritanopia (blue-blind)
#008795
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4072cd;
/* rgb */ color: rgb(64, 114, 205);
/* oklch */ color: oklch(56.4% 0.151 261.3);
Tailwind
colors: {
  custom: {
    50: '#849add',
    500: '#4072cd',
    950: '#000000',
  },
}
SCSS
$custom: #4072cd;
$custom-light: #849add;
$custom-dark: #000000;
JSON
{
  "hex": "#4072cd",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 218.723,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56393,
    "c": 0.15088,
    "h": 261.3
  },
  "luminance": 0.17532
}

Semantic roles & 50–950 ramp

primary
#4072CD
secondary
#D3BD96
accent
#AB46E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4072CD

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

Preview Lab → · Contrast checker → · Palette generator →

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