#4073E7#4073E7

#4073E7 is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.4% C 0.184 H 263.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4073E7
RGBrgb(64, 115, 231)
HSLhsl(222, 78%, 58%)
HSVhsv(222, 72%, 91%)
CMYKcmyk(72.3%, 50.2%, 0%, 9.4%)
CIE-LABlab(50.83, 22.01, -63.80)
CIE-LCHlch(50.83, 67.49, 289.03°)
OKLaboklab(58.38% -0.02 -0.1834)
OKLCHoklch(58.38% 0.185 263.8)
XYZxyz(22.6638, 19.1185, 78.0816)
Luminance0.1912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4073E7 #E7B440
analogous
#40C6E7 #4073E7 #6140E7
triadic
#4073E7 #E74073 #73E740
tetradic
#4073E7 #E740C6 #E7B440 #40E761
square
#4073E7 #E740C6 #E7B440 #40E761
split-complementary
#4073E7 #E76140 #C6E740
monochromatic
#133C99 #1A52D0 #4073E7 #769BEE #ADC3F5

Accessibility & contrast

On white

4.35
#4073E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4073E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4073E7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4073E7#FFFFFF#000000##000000
##4073E71.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B81EB
Deuteranopia (green-blind)
#0072E5
Tritanopia (blue-blind)
#008FA2
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4073e7;
/* rgb */ color: rgb(64, 115, 231);
/* oklch */ color: oklch(58.4% 0.184 263.8);
Tailwind
colors: {
  custom: {
    50: '#899aef',
    500: '#4073e7',
    950: '#000000',
  },
}
SCSS
$custom: #4073e7;
$custom-light: #899aef;
$custom-dark: #000000;
JSON
{
  "hex": "#4073e7",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 231
  },
  "hsl": {
    "h": 221.677,
    "s": 77.674,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58375,
    "c": 0.1845,
    "h": 263.8
  },
  "luminance": 0.19121
}

Semantic roles & 50–950 ramp

primary
#4073E7
secondary
#E3CEA0
accent
#B934F4
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E17
muted
#7E7E85

Preview Lab

Preview with #4073E7

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

Preview Lab → · Contrast checker → · Palette generator →

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