#4073E1#4073E1

#4073E1 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.0% C 0.177 H 263.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4073E1
RGBrgb(64, 115, 225)
HSLhsl(221, 73%, 57%)
HSVhsv(221, 72%, 88%)
CMYKcmyk(71.6%, 48.9%, 0%, 11.8%)
CIE-LABlab(50.44, 19.85, -61.06)
CIE-LCHlch(50.44, 64.20, 288.01°)
OKLaboklab(57.95% -0.0207 -0.1753)
OKLCHoklch(57.95% 0.177 263.3)
XYZxyz(21.8309, 18.7854, 73.6950)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4073E1 #E1AE40
analogous
#40C4E1 #4073E1 #5E40E1
triadic
#4073E1 #E14073 #73E140
tetradic
#4073E1 #E140C4 #E1AE40 #40E15E
square
#4073E1 #E140C4 #E1AE40 #40E15E
split-complementary
#4073E1 #E15E40 #C4E140
monochromatic
#173D90 #1F53C5 #4073E1 #759AE9 #AAC1F2

Accessibility & contrast

On white

4.41
#4073E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4073E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4073E1
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4073E1#FFFFFF#000000##000000
##4073E11.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3480E5
Deuteranopia (green-blind)
#0071DF
Tritanopia (blue-blind)
#008D9F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4073e1;
/* rgb */ color: rgb(64, 115, 225);
/* oklch */ color: oklch(58.0% 0.177 263.3);
Tailwind
colors: {
  custom: {
    50: '#889aeb',
    500: '#4073e1',
    950: '#000000',
  },
}
SCSS
$custom: #4073e1;
$custom-light: #889aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#4073e1",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 225
  },
  "hsl": {
    "h": 220.994,
    "s": 72.851,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57952,
    "c": 0.17656,
    "h": 263.3
  },
  "luminance": 0.18788
}

Semantic roles & 50–950 ramp

primary
#4073E1
secondary
#DFCA9D
accent
#B538F0
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4073E1

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

Preview Lab → · Contrast checker → · Palette generator →

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