#4071BC#4071BC

#4071BC is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.1% C 0.129 H 258.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4071BC
RGBrgb(64, 113, 188)
HSLhsl(216, 49%, 49%)
HSVhsv(216, 66%, 74%)
CMYKcmyk(66%, 39.9%, 0%, 26.3%)
CIE-LABlab(47.66, 7.82, -44.39)
CIE-LCHlch(47.66, 45.08, 280.00°)
OKLaboklab(55.1% -0.0253 -0.1264)
OKLCHoklch(55.1% 0.129 258.7)
XYZxyz(17.0933, 16.5294, 49.8569)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071BC #BC8B40
analogous
#40AFBC #4071BC #4D40BC
triadic
#4071BC #BC4071 #71BC40
tetradic
#4071BC #BC40AF #BC8B40 #40BC4D
square
#4071BC #BC40AF #BC8B40 #40BC4D
split-complementary
#4071BC #BC4D40 #AFBC40
monochromatic
#213A61 #30568E #4071BC #6C92CD #9AB4DD

Accessibility & contrast

On white

4.88
#4071BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4071BC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071BC#FFFFFF#000000##FFFFFF
##4071BC1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F77BF
Deuteranopia (green-blind)
#3D6CBA
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4071bc;
/* rgb */ color: rgb(64, 113, 188);
/* oklch */ color: oklch(55.1% 0.129 258.7);
Tailwind
colors: {
  custom: {
    50: '#8199d0',
    500: '#4071bc',
    950: '#000000',
  },
}
SCSS
$custom: #4071bc;
$custom-light: #8199d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4071bc",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 188
  },
  "hsl": {
    "h": 216.29,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55102,
    "c": 0.1289,
    "h": 258.7
  },
  "luminance": 0.16531
}

Semantic roles & 50–950 ramp

primary
#4071BC
secondary
#C9B28F
accent
#A24FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0D14
muted
#7C7E82

Preview Lab

Preview with #4071BC

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

Preview Lab → · Contrast checker → · Palette generator →

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