#4071DA#4071DA

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

Color values

HEX#4071DA
RGBrgb(64, 113, 218)
HSLhsl(221, 68%, 55%)
HSVhsv(221, 71%, 85%)
CMYKcmyk(70.6%, 48.2%, 0%, 14.5%)
CIE-LABlab(49.45, 18.58, -58.69)
CIE-LCHlch(49.45, 61.56, 287.56°)
OKLaboklab(57.05% -0.02 -0.1684)
OKLCHoklch(57.05% 0.17 263.2)
XYZxyz(20.6699, 17.9600, 68.6934)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071DA #DAA940
analogous
#40BEDA #4071DA #5C40DA
triadic
#4071DA #DA4071 #71DA40
tetradic
#4071DA #DA40BE #DAA940 #40DA5C
square
#4071DA #DA40BE #DAA940 #40DA5C
split-complementary
#4071DA #DA5C40 #BEDA40
monochromatic
#1A3C86 #2453B9 #4071DA #7397E4 #A7BDEE

Accessibility & contrast

On white

4.57
#4071DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#4071DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4071DA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071DA#FFFFFF#000000##000000
##4071DA1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#377DDE
Deuteranopia (green-blind)
#046FD8
Tritanopia (blue-blind)
#008A9B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4071da;
/* rgb */ color: rgb(64, 113, 218);
/* oklch */ color: oklch(57.1% 0.170 263.2);
Tailwind
colors: {
  custom: {
    50: '#8799e6',
    500: '#4071da',
    950: '#000000',
  },
}
SCSS
$custom: #4071da;
$custom-light: #8799e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4071da",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 220.909,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57054,
    "c": 0.1696,
    "h": 263.2
  },
  "luminance": 0.17962
}

Semantic roles & 50–950 ramp

primary
#4071DA
secondary
#DBC79B
accent
#B33DEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4071DA

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

Preview Lab → · Contrast checker → · Palette generator →

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