#4072BB#4072BB

#4072BB is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.3% C 0.126 H 257.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4072BB
RGBrgb(64, 114, 187)
HSLhsl(216, 49%, 49%)
HSVhsv(216, 66%, 73%)
CMYKcmyk(65.8%, 39%, 0%, 26.7%)
CIE-LABlab(47.89, 6.85, -43.45)
CIE-LCHlch(47.89, 43.98, 278.96°)
OKLaboklab(55.26% -0.0265 -0.1236)
OKLCHoklch(55.26% 0.126 257.9)
XYZxyz(17.0981, 16.7108, 49.3285)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4072BB #BB8940
analogous
#40B0BB #4072BB #4C40BB
triadic
#4072BB #BB4072 #72BB40
tetradic
#4072BB #BB40B0 #BB8940 #40BB4C
square
#4072BB #BB40B0 #BB8940 #40BB4C
split-complementary
#4072BB #BB4C40 #B0BB40
monochromatic
#213A60 #30568D #4072BB #6C93CD #99B4DC

Accessibility & contrast

On white

4.84
#4072BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#4072BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4072BB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4072BB#FFFFFF#000000##FFFFFF
##4072BB1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4072bb;
/* rgb */ color: rgb(64, 114, 187);
/* oklch */ color: oklch(55.3% 0.126 257.9);
Tailwind
colors: {
  custom: {
    50: '#819ad0',
    500: '#4072bb',
    950: '#000000',
  },
}
SCSS
$custom: #4072bb;
$custom-light: #819ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#4072bb",
  "rgb": {
    "r": 64,
    "g": 114,
    "b": 187
  },
  "hsl": {
    "h": 215.61,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55264,
    "c": 0.12642,
    "h": 257.9
  },
  "luminance": 0.16712
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4072BB

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

Preview Lab → · Contrast checker → · Palette generator →

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