#4072BC#4072BC

#4072BC is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.3% C 0.128 H 258.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4072BC
RGBrgb(64, 114, 188)
HSLhsl(216, 49%, 49%)
HSVhsv(216, 66%, 74%)
CMYKcmyk(66%, 39.4%, 0%, 26.3%)
CIE-LABlab(47.95, 7.20, -43.94)
CIE-LCHlch(47.95, 44.52, 279.31°)
OKLaboklab(55.33% -0.0263 -0.125)
OKLCHoklch(55.33% 0.128 258.1)
XYZxyz(17.2055, 16.7538, 49.8943)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4072BC #BC8A40
analogous
#40B0BC #4072BC #4C40BC
triadic
#4072BC #BC4072 #72BC40
tetradic
#4072BC #BC40B0 #BC8A40 #40BC4C
square
#4072BC #BC40B0 #BC8A40 #40BC4C
split-complementary
#4072BC #BC4C40 #B0BC40
monochromatic
#213B61 #30568E #4072BC #6C93CD #9AB5DD

Accessibility & contrast

On white

4.83
#4072BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#4072BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4072BC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4072BC#FFFFFF#000000##FFFFFF
##4072BC1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5178BF
Deuteranopia (green-blind)
#3F6CBA
Tritanopia (blue-blind)
#00838E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4072bc;
/* rgb */ color: rgb(64, 114, 188);
/* oklch */ color: oklch(55.3% 0.128 258.1);
Tailwind
colors: {
  custom: {
    50: '#819ad0',
    500: '#4072bc',
    950: '#000000',
  },
}
SCSS
$custom: #4072bc;
$custom-light: #819ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#4072bc",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 188
  },
  "hsl": {
    "h": 215.806,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55325,
    "c": 0.12778,
    "h": 258.1
  },
  "luminance": 0.16755
}

Semantic roles & 50–950 ramp

primary
#4072BC
secondary
#C9B18F
accent
#A14FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #4072BC

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

Preview Lab → · Contrast checker → · Palette generator →

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