#4071CD#4071CD

#4071CD is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.2% C 0.152 H 261.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4071CD
RGBrgb(64, 113, 205)
HSLhsl(219, 59%, 53%)
HSVhsv(219, 69%, 80%)
CMYKcmyk(68.8%, 44.9%, 0%, 19.6%)
CIE-LABlab(48.64, 13.90, -52.59)
CIE-LCHlch(48.64, 54.40, 284.80°)
OKLaboklab(56.18% -0.0219 -0.1505)
OKLCHoklch(56.18% 0.152 261.7)
XYZxyz(19.0350, 17.3061, 60.0830)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071CD #CD9C40
analogous
#40B7CD #4071CD #5540CD
triadic
#4071CD #CD4071 #71CD40
tetradic
#4071CD #CD40B7 #CD9C40 #40CD55
square
#4071CD #CD40B7 #CD9C40 #40CD55
split-complementary
#4071CD #CD5540 #B7CD40
monochromatic
#1E3C74 #2B55A5 #4071CD #7195DA #A1B9E6

Accessibility & contrast

On white

4.71
#4071CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#4071CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4071CD
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071CD#FFFFFF#000000##FFFFFF
##4071CD1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#437AD0
Deuteranopia (green-blind)
#296DCB
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4071cd;
/* rgb */ color: rgb(64, 113, 205);
/* oklch */ color: oklch(56.2% 0.152 261.7);
Tailwind
colors: {
  custom: {
    50: '#8499dd',
    500: '#4071cd',
    950: '#000000',
  },
}
SCSS
$custom: #4071cd;
$custom-light: #8499dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4071cd",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 219.149,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56179,
    "c": 0.15205,
    "h": 261.7
  },
  "luminance": 0.17308
}

Semantic roles & 50–950 ramp

primary
#4071CD
secondary
#D3BE96
accent
#AC46E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4071CD

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

Preview Lab → · Contrast checker → · Palette generator →

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