#4072CF#4072CF

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

Color values

HEX#4072CF
RGBrgb(64, 114, 207)
HSLhsl(219, 60%, 53%)
HSVhsv(219, 69%, 81%)
CMYKcmyk(69.1%, 44.9%, 0%, 18.8%)
CIE-LABlab(49.04, 13.99, -53.09)
CIE-LCHlch(49.04, 54.91, 284.76°)
OKLaboklab(56.52% -0.0225 -0.1519)
OKLCHoklch(56.52% 0.154 261.6)
XYZxyz(19.3901, 17.6276, 61.4000)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4072CF #CF9D40
analogous
#40B9CF #4072CF #5540CF
triadic
#4072CF #CF4072 #72CF40
tetradic
#4072CF #CF40B9 #CF9D40 #40CF55
square
#4072CF #CF40B9 #CF9D40 #40CF55
split-complementary
#4072CF #CF5540 #B9CF40
monochromatic
#1E3D77 #2A56A8 #4072CF #7196DB #A2BAE8

Accessibility & contrast

On white

4.64
#4072CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#4072CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4072CF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4072CF#FFFFFF#000000##FFFFFF
##4072CF1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#447CD3
Deuteranopia (green-blind)
#286ECD
Tritanopia (blue-blind)
#008896
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4072cf;
/* rgb */ color: rgb(64, 114, 207);
/* oklch */ color: oklch(56.5% 0.154 261.6);
Tailwind
colors: {
  custom: {
    50: '#859ade',
    500: '#4072cf',
    950: '#000000',
  },
}
SCSS
$custom: #4072cf;
$custom-light: #859ade;
$custom-dark: #000000;
JSON
{
  "hex": "#4072cf",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 207
  },
  "hsl": {
    "h": 219.021,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56524,
    "c": 0.15359,
    "h": 261.6
  },
  "luminance": 0.1763
}

Semantic roles & 50–950 ramp

primary
#4072CF
secondary
#D4BF97
accent
#AC45E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4072CF

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

Preview Lab → · Contrast checker → · Palette generator →

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