#4071DB#4071DB

#4071DB is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.1% C 0.171 H 263.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4071DB
RGBrgb(64, 113, 219)
HSLhsl(221, 68%, 55%)
HSVhsv(221, 71%, 86%)
CMYKcmyk(70.8%, 48.4%, 0%, 14.1%)
CIE-LABlab(49.51, 18.94, -59.16)
CIE-LCHlch(49.51, 62.11, 287.75°)
OKLaboklab(57.12% -0.0198 -0.1698)
OKLCHoklch(57.12% 0.171 263.3)
XYZxyz(20.8011, 18.0125, 69.3846)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071DB #DBAA40
analogous
#40BFDB #4071DB #5C40DB
triadic
#4071DB #DB4071 #71DB40
tetradic
#4071DB #DB40BF #DBAA40 #40DB5C
square
#4071DB #DB40BF #DBAA40 #40DB5C
split-complementary
#4071DB #DB5C40 #BFDB40
monochromatic
#193C87 #2353BB #4071DB #7397E5 #A7BEEE

Accessibility & contrast

On white

4.56
#4071DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#4071DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4071DB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071DB#FFFFFF#000000##000000
##4071DB1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#367DDF
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#008A9B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4071db;
/* rgb */ color: rgb(64, 113, 219);
/* oklch */ color: oklch(57.1% 0.171 263.3);
Tailwind
colors: {
  custom: {
    50: '#8799e7',
    500: '#4071db',
    950: '#000000',
  },
}
SCSS
$custom: #4071db;
$custom-light: #8799e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4071db",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 221.032,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57123,
    "c": 0.17093,
    "h": 263.3
  },
  "luminance": 0.18015
}

Semantic roles & 50–950 ramp

primary
#4071DB
secondary
#DCC79B
accent
#B43DEB
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4071DB

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

Preview Lab → · Contrast checker → · Palette generator →

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