#4071D0#4071D0

#4071D0 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.4% C 0.156 H 262.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4071D0
RGBrgb(64, 113, 208)
HSLhsl(220, 61%, 53%)
HSVhsv(220, 69%, 82%)
CMYKcmyk(69.2%, 45.7%, 0%, 18.4%)
CIE-LABlab(48.83, 14.98, -54.01)
CIE-LCHlch(48.83, 56.05, 285.50°)
OKLaboklab(56.38% -0.0214 -0.1546)
OKLCHoklch(56.38% 0.156 262.1)
XYZxyz(19.4006, 17.4523, 62.0085)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071D0 #D09F40
analogous
#40B9D0 #4071D0 #5740D0
triadic
#4071D0 #D04071 #71D040
tetradic
#4071D0 #D040B9 #D09F40 #40D057
square
#4071D0 #D040B9 #D09F40 #40D057
split-complementary
#4071D0 #D05740 #B9D040
monochromatic
#1E3C78 #2A55A9 #4071D0 #7196DC #A2BAE8

Accessibility & contrast

On white

4.68
#4071D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#4071D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4071D0
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071D0#FFFFFF#000000##FFFFFF
##4071D01.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#417BD4
Deuteranopia (green-blind)
#236ECE
Tritanopia (blue-blind)
#008796
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4071d0;
/* rgb */ color: rgb(64, 113, 208);
/* oklch */ color: oklch(56.4% 0.156 262.1);
Tailwind
colors: {
  custom: {
    50: '#8599df',
    500: '#4071d0',
    950: '#000000',
  },
}
SCSS
$custom: #4071d0;
$custom-light: #8599df;
$custom-dark: #000000;
JSON
{
  "hex": "#4071d0",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 208
  },
  "hsl": {
    "h": 219.583,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56377,
    "c": 0.15612,
    "h": 262.1
  },
  "luminance": 0.17454
}

Semantic roles & 50–950 ramp

primary
#4071D0
secondary
#D5C097
accent
#AD44E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4071D0

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

Preview Lab → · Contrast checker → · Palette generator →

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