#4072CE#4072CE

#4072CE is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.5% C 0.152 H 261.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4072CE
RGBrgb(64, 114, 206)
HSLhsl(219, 59%, 53%)
HSVhsv(219, 69%, 81%)
CMYKcmyk(68.9%, 44.7%, 0%, 19.2%)
CIE-LABlab(48.98, 13.63, -52.62)
CIE-LCHlch(48.98, 54.36, 284.52°)
OKLaboklab(56.46% -0.0227 -0.1505)
OKLCHoklch(56.46% 0.152 261.4)
XYZxyz(19.2683, 17.5789, 60.7582)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4072CE #CE9C40
analogous
#40B9CE #4072CE #5540CE
triadic
#4072CE #CE4072 #72CE40
tetradic
#4072CE #CE40B9 #CE9C40 #40CE55
square
#4072CE #CE40B9 #CE9C40 #40CE55
split-complementary
#4072CE #CE5540 #B9CE40
monochromatic
#1E3D75 #2B56A6 #4072CE #7196DA #A1BAE7

Accessibility & contrast

On white

4.65
#4072CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#4072CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4072CE
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4072CE#FFFFFF#000000##FFFFFF
##4072CE1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#447BD1
Deuteranopia (green-blind)
#2A6ECC
Tritanopia (blue-blind)
#008796
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4072ce;
/* rgb */ color: rgb(64, 114, 206);
/* oklch */ color: oklch(56.5% 0.152 261.4);
Tailwind
colors: {
  custom: {
    50: '#859add',
    500: '#4072ce',
    950: '#000000',
  },
}
SCSS
$custom: #4072ce;
$custom-light: #859add;
$custom-dark: #000000;
JSON
{
  "hex": "#4072ce",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 206
  },
  "hsl": {
    "h": 218.873,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56458,
    "c": 0.15224,
    "h": 261.4
  },
  "luminance": 0.17581
}

Semantic roles & 50–950 ramp

primary
#4072CE
secondary
#D4BE96
accent
#AB45E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4072CE

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

Preview Lab → · Contrast checker → · Palette generator →

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