#4071DF#4071DF

#4071DF is a mid, vivid blue. Relative luminance 0.182; OKLCH L 57.4% C 0.176 H 263.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4071DF
RGBrgb(64, 113, 223)
HSLhsl(222, 71%, 56%)
HSVhsv(222, 71%, 87%)
CMYKcmyk(71.3%, 49.3%, 0%, 12.5%)
CIE-LABlab(49.77, 20.38, -61.00)
CIE-LCHlch(49.77, 64.32, 288.47°)
OKLaboklab(57.4% -0.0193 -0.1752)
OKLCHoklch(57.4% 0.176 263.7)
XYZxyz(21.3340, 18.2257, 72.1913)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071DF #DFAE40
analogous
#40C1DF #4071DF #5F40DF
triadic
#4071DF #DF4071 #71DF40
tetradic
#4071DF #DF40C1 #DFAE40 #40DF5F
square
#4071DF #DF40C1 #DFAE40 #40DF5F
split-complementary
#4071DF #DF5F40 #C1DF40
monochromatic
#183C8D #2052C1 #4071DF #7498E8 #A9BFF1

Accessibility & contrast

On white

4.52
#4071DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#4071DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4071DF
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071DF#FFFFFF#000000##000000
##4071DF1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#317EE3
Deuteranopia (green-blind)
#006FDD
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4071df;
/* rgb */ color: rgb(64, 113, 223);
/* oklch */ color: oklch(57.4% 0.176 263.7);
Tailwind
colors: {
  custom: {
    50: '#8899ea',
    500: '#4071df',
    950: '#000000',
  },
}
SCSS
$custom: #4071df;
$custom-light: #8899ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4071df",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 221.509,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57402,
    "c": 0.17627,
    "h": 263.7
  },
  "luminance": 0.18228
}

Semantic roles & 50–950 ramp

primary
#4071DF
secondary
#DECA9D
accent
#B63AEE
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4071DF

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

Preview Lab → · Contrast checker → · Palette generator →

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