#4071DC#4071DC

#4071DC is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.2% C 0.172 H 263.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4071DC
RGBrgb(64, 113, 220)
HSLhsl(221, 69%, 56%)
HSVhsv(221, 71%, 86%)
CMYKcmyk(70.9%, 48.6%, 0%, 13.7%)
CIE-LABlab(49.58, 19.30, -59.62)
CIE-LCHlch(49.58, 62.66, 287.94°)
OKLaboklab(57.19% -0.0197 -0.1711)
OKLCHoklch(57.19% 0.172 263.4)
XYZxyz(20.9332, 18.0653, 70.0800)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071DC #DCAB40
analogous
#40BFDC #4071DC #5D40DC
triadic
#4071DC #DC4071 #71DC40
tetradic
#4071DC #DC40BF #DCAB40 #40DC5D
square
#4071DC #DC40BF #DCAB40 #40DC5D
split-complementary
#4071DC #DC5D40 #BFDC40
monochromatic
#193C89 #2353BC #4071DC #7497E5 #A7BEEF

Accessibility & contrast

On white

4.55
#4071DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#4071DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4071DC
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071DC#FFFFFF#000000##000000
##4071DC1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#357DE0
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#008A9C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4071dc;
/* rgb */ color: rgb(64, 113, 220);
/* oklch */ color: oklch(57.2% 0.172 263.4);
Tailwind
colors: {
  custom: {
    50: '#8799e7',
    500: '#4071dc',
    950: '#000000',
  },
}
SCSS
$custom: #4071dc;
$custom-light: #8799e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4071dc",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 221.154,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57193,
    "c": 0.17227,
    "h": 263.4
  },
  "luminance": 0.18068
}

Semantic roles & 50–950 ramp

primary
#4071DC
secondary
#DCC89B
accent
#B53CEC
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4071DC

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

Preview Lab → · Contrast checker → · Palette generator →

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