#4071E3#4071E3

#4071E3 is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.7% C 0.182 H 264.0°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4071E3
RGBrgb(64, 113, 227)
HSLhsl(222, 74%, 57%)
HSVhsv(222, 72%, 89%)
CMYKcmyk(71.8%, 50.2%, 0%, 11%)
CIE-LABlab(50.03, 21.82, -62.84)
CIE-LCHlch(50.03, 66.52, 289.15°)
OKLaboklab(57.68% -0.0188 -0.1806)
OKLCHoklch(57.68% 0.182 264)
XYZxyz(21.8797, 18.4440, 75.0651)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071E3 #E3B240
analogous
#40C3E3 #4071E3 #6140E3
triadic
#4071E3 #E34071 #71E340
tetradic
#4071E3 #E340C3 #E3B240 #40E361
square
#4071E3 #E340C3 #E3B240 #40E361
split-complementary
#4071E3 #E36140 #C3E340
monochromatic
#163B93 #1D51C8 #4071E3 #7599EB #ABC0F3

Accessibility & contrast

On white

4.48
#4071E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#4071E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4071E3
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071E3#FFFFFF#000000##000000
##4071E31.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7FE7
Deuteranopia (green-blind)
#0070E1
Tritanopia (blue-blind)
#008C9F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4071e3;
/* rgb */ color: rgb(64, 113, 227);
/* oklch */ color: oklch(57.7% 0.182 264.0);
Tailwind
colors: {
  custom: {
    50: '#8999ec',
    500: '#4071e3',
    950: '#000000',
  },
}
SCSS
$custom: #4071e3;
$custom-light: #8999ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4071e3",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 227
  },
  "hsl": {
    "h": 221.963,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57685,
    "c": 0.18159,
    "h": 264
  },
  "luminance": 0.18446
}

Semantic roles & 50–950 ramp

primary
#4071E3
secondary
#E1CD9E
accent
#B937F1
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4071E3

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

Preview Lab → · Contrast checker → · Palette generator →

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