#4071BD#4071BD

#4071BD is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.2% C 0.130 H 258.9°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4071BD
RGBrgb(64, 113, 189)
HSLhsl(216, 49%, 50%)
HSVhsv(216, 66%, 74%)
CMYKcmyk(66.1%, 40.2%, 0%, 25.9%)
CIE-LABlab(47.72, 8.18, -44.88)
CIE-LCHlch(47.72, 45.62, 280.33°)
OKLaboklab(55.16% -0.0251 -0.1278)
OKLCHoklch(55.16% 0.13 258.9)
XYZxyz(17.2015, 16.5727, 50.4266)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071BD #BD8C40
analogous
#40B0BD #4071BD #4E40BD
triadic
#4071BD #BD4071 #71BD40
tetradic
#4071BD #BD40B0 #BD8C40 #40BD4E
square
#4071BD #BD40B0 #BD8C40 #40BD4E
split-complementary
#4071BD #BD4E40 #B0BD40
monochromatic
#213A62 #31568F #4071BD #6D93CD #9AB5DD

Accessibility & contrast

On white

4.87
#4071BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#4071BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4071BD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071BD#FFFFFF#000000##FFFFFF
##4071BD1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F78C0
Deuteranopia (green-blind)
#3C6CBB
Tritanopia (blue-blind)
#00828E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4071bd;
/* rgb */ color: rgb(64, 113, 189);
/* oklch */ color: oklch(55.2% 0.130 258.9);
Tailwind
colors: {
  custom: {
    50: '#8299d1',
    500: '#4071bd',
    950: '#000000',
  },
}
SCSS
$custom: #4071bd;
$custom-light: #8299d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4071bd",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 189
  },
  "hsl": {
    "h": 216.48,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55163,
    "c": 0.13027,
    "h": 258.9
  },
  "luminance": 0.16574
}

Semantic roles & 50–950 ramp

primary
#4071BD
secondary
#C9B390
accent
#A34FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #4071BD

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

Preview Lab → · Contrast checker → · Palette generator →

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