#4071E1#4071E1

#4071E1 is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.5% C 0.179 H 263.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4071E1
RGBrgb(64, 113, 225)
HSLhsl(222, 73%, 57%)
HSVhsv(222, 72%, 88%)
CMYKcmyk(71.6%, 49.8%, 0%, 11.8%)
CIE-LABlab(49.90, 21.10, -61.92)
CIE-LCHlch(49.90, 65.42, 288.82°)
OKLaboklab(57.54% -0.0191 -0.1779)
OKLCHoklch(57.54% 0.179 263.9)
XYZxyz(21.6053, 18.3342, 73.6198)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071E1 #E1B040
analogous
#40C2E1 #4071E1 #6040E1
triadic
#4071E1 #E14071 #71E140
tetradic
#4071E1 #E140C2 #E1B040 #40E160
square
#4071E1 #E140C2 #E1B040 #40E160
split-complementary
#4071E1 #E16040 #C2E140
monochromatic
#173C90 #1F51C5 #4071E1 #7598E9 #AAC0F2

Accessibility & contrast

On white

4.50
#4071E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#4071E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4071E1
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071E1#FFFFFF#000000##000000
##4071E11.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7EE5
Deuteranopia (green-blind)
#0070DF
Tritanopia (blue-blind)
#008C9E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4071e1;
/* rgb */ color: rgb(64, 113, 225);
/* oklch */ color: oklch(57.5% 0.179 263.9);
Tailwind
colors: {
  custom: {
    50: '#8899eb',
    500: '#4071e1',
    950: '#000000',
  },
}
SCSS
$custom: #4071e1;
$custom-light: #8899eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4071e1",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 225
  },
  "hsl": {
    "h": 221.739,
    "s": 72.851,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57543,
    "c": 0.17893,
    "h": 263.9
  },
  "luminance": 0.18336
}

Semantic roles & 50–950 ramp

primary
#4071E1
secondary
#DFCB9D
accent
#B838F0
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4071E1

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

Preview Lab → · Contrast checker → · Palette generator →

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