#4071E0#4071E0

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

Color values

HEX#4071E0
RGBrgb(64, 113, 224)
HSLhsl(222, 72%, 56%)
HSVhsv(222, 71%, 88%)
CMYKcmyk(71.4%, 49.6%, 0%, 12.2%)
CIE-LABlab(49.83, 20.74, -61.46)
CIE-LCHlch(49.83, 64.87, 288.65°)
OKLaboklab(57.47% -0.0192 -0.1766)
OKLCHoklch(57.47% 0.178 263.8)
XYZxyz(21.4693, 18.2798, 72.9034)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071E0 #E0AF40
analogous
#40C1E0 #4071E0 #5F40E0
triadic
#4071E0 #E04071 #71E040
tetradic
#4071E0 #E040C1 #E0AF40 #40E05F
square
#4071E0 #E040C1 #E0AF40 #40E05F
split-complementary
#4071E0 #E05F40 #C1E040
monochromatic
#173C8E #2052C3 #4071E0 #7598E9 #A9BFF1

Accessibility & contrast

On white

4.51
#4071E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#4071E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4071E0
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071E0#FFFFFF#000000##000000
##4071E01.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7EE4
Deuteranopia (green-blind)
#0070DE
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4071e0;
/* rgb */ color: rgb(64, 113, 224);
/* oklch */ color: oklch(57.5% 0.178 263.8);
Tailwind
colors: {
  custom: {
    50: '#8899ea',
    500: '#4071e0',
    950: '#000000',
  },
}
SCSS
$custom: #4071e0;
$custom-light: #8899ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4071e0",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 224
  },
  "hsl": {
    "h": 221.625,
    "s": 72.072,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57472,
    "c": 0.1776,
    "h": 263.8
  },
  "luminance": 0.18282
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4071E0

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

Preview Lab → · Contrast checker → · Palette generator →

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