#4072D7#4072D7

#4072D7 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.1% C 0.164 H 262.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4072D7
RGBrgb(64, 114, 215)
HSLhsl(220, 65%, 55%)
HSVhsv(220, 70%, 84%)
CMYKcmyk(70.2%, 47%, 0%, 15.7%)
CIE-LABlab(49.53, 16.87, -56.86)
CIE-LCHlch(49.53, 59.31, 286.53°)
OKLaboklab(57.06% -0.0213 -0.163)
OKLCHoklch(57.06% 0.164 262.6)
XYZxyz(20.3930, 18.0288, 66.6820)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4072D7 #D7A540
analogous
#40BED7 #4072D7 #5940D7
triadic
#4072D7 #D74072 #72D740
tetradic
#4072D7 #D740BE #D7A540 #40D759
square
#4072D7 #D740BE #D7A540 #40D759
split-complementary
#4072D7 #D75940 #BED740
monochromatic
#1B3D81 #2655B4 #4072D7 #7397E2 #A5BDEC

Accessibility & contrast

On white

4.56
#4072D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#4072D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4072D7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4072D7#FFFFFF#000000##000000
##4072D71.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7DDB
Deuteranopia (green-blind)
#176FD5
Tritanopia (blue-blind)
#008A9A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4072d7;
/* rgb */ color: rgb(64, 114, 215);
/* oklch */ color: oklch(57.1% 0.164 262.6);
Tailwind
colors: {
  custom: {
    50: '#869ae4',
    500: '#4072d7',
    950: '#000000',
  },
}
SCSS
$custom: #4072d7;
$custom-light: #869ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#4072d7",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 215
  },
  "hsl": {
    "h": 220.132,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57057,
    "c": 0.16438,
    "h": 262.6
  },
  "luminance": 0.18031
}

Semantic roles & 50–950 ramp

primary
#4072D7
secondary
#D9C49A
accent
#B03FE8
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0D16
muted
#7D7E84

Preview Lab

Preview with #4072D7

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

Preview Lab → · Contrast checker → · Palette generator →

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