#4072BD#4072BD

#4072BD is a mid, vivid blue. Relative luminance 0.168; OKLCH L 55.4% C 0.129 H 258.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4072BD
RGBrgb(64, 114, 189)
HSLhsl(216, 49%, 50%)
HSVhsv(216, 66%, 74%)
CMYKcmyk(66.1%, 39.7%, 0%, 25.9%)
CIE-LABlab(48.00, 7.56, -44.43)
CIE-LCHlch(48.00, 45.06, 279.66°)
OKLaboklab(55.39% -0.0261 -0.1265)
OKLCHoklch(55.39% 0.129 258.3)
XYZxyz(17.3137, 16.7970, 50.4640)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4072BD #BD8B40
analogous
#40B1BD #4072BD #4D40BD
triadic
#4072BD #BD4072 #72BD40
tetradic
#4072BD #BD40B1 #BD8B40 #40BD4D
square
#4072BD #BD40B1 #BD8B40 #40BD4D
split-complementary
#4072BD #BD4D40 #B1BD40
monochromatic
#213B62 #31568F #4072BD #6D93CD #9AB5DD

Accessibility & contrast

On white

4.82
#4072BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#4072BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4072BD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4072BD#FFFFFF#000000##FFFFFF
##4072BD1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5078C0
Deuteranopia (green-blind)
#3E6DBB
Tritanopia (blue-blind)
#00838E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4072bd;
/* rgb */ color: rgb(64, 114, 189);
/* oklch */ color: oklch(55.4% 0.129 258.3);
Tailwind
colors: {
  custom: {
    50: '#829ad1',
    500: '#4072bd',
    950: '#000000',
  },
}
SCSS
$custom: #4072bd;
$custom-light: #829ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#4072bd",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 189
  },
  "hsl": {
    "h": 216,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55385,
    "c": 0.12914,
    "h": 258.3
  },
  "luminance": 0.16799
}

Semantic roles & 50–950 ramp

primary
#4072BD
secondary
#C9B290
accent
#A24FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #4072BD

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

Preview Lab → · Contrast checker → · Palette generator →

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