#4071BF#4071BF

#4071BF is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.3% C 0.133 H 259.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4071BF
RGBrgb(64, 113, 191)
HSLhsl(217, 50%, 50%)
HSVhsv(217, 66%, 75%)
CMYKcmyk(66.5%, 40.8%, 0%, 25.1%)
CIE-LABlab(47.83, 8.89, -45.86)
CIE-LCHlch(47.83, 46.71, 280.97°)
OKLaboklab(55.29% -0.0246 -0.1307)
OKLCHoklch(55.29% 0.133 259.3)
XYZxyz(17.4201, 16.6601, 51.5778)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071BF #BF8E40
analogous
#40B1BF #4071BF #4E40BF
triadic
#4071BF #BF4071 #71BF40
tetradic
#4071BF #BF40B1 #BF8E40 #40BF4E
square
#4071BF #BF40B1 #BF8E40 #40BF4E
split-complementary
#4071BF #BF4E40 #B1BF40
monochromatic
#213B63 #315691 #4071BF #6E93CE #9CB5DE

Accessibility & contrast

On white

4.85
#4071BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#4071BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4071BF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071BF#FFFFFF#000000##FFFFFF
##4071BF1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D78C2
Deuteranopia (green-blind)
#3A6CBD
Tritanopia (blue-blind)
#00838F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4071bf;
/* rgb */ color: rgb(64, 113, 191);
/* oklch */ color: oklch(55.3% 0.133 259.3);
Tailwind
colors: {
  custom: {
    50: '#8299d3',
    500: '#4071bf',
    950: '#000000',
  },
}
SCSS
$custom: #4071bf;
$custom-light: #8299d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4071bf",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 191
  },
  "hsl": {
    "h": 216.85,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.55286,
    "c": 0.13299,
    "h": 259.3
  },
  "luminance": 0.16662
}

Semantic roles & 50–950 ramp

primary
#4071BF
secondary
#CAB491
accent
#A44ED9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4071BF

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

Preview Lab → · Contrast checker → · Palette generator →

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