#4073CE#4073CE

#4073CE is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.7% C 0.151 H 261.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4073CE
RGBrgb(64, 115, 206)
HSLhsl(218, 59%, 53%)
HSVhsv(218, 69%, 81%)
CMYKcmyk(68.9%, 44.2%, 0%, 19.2%)
CIE-LABlab(49.26, 13.01, -52.17)
CIE-LCHlch(49.26, 53.77, 284.00°)
OKLaboklab(56.67% -0.0236 -0.1492)
OKLCHoklch(56.67% 0.151 261)
XYZxyz(19.3817, 17.8057, 60.7960)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4073CE #CE9B40
analogous
#40BACE #4073CE #5440CE
triadic
#4073CE #CE4073 #73CE40
tetradic
#4073CE #CE40BA #CE9B40 #40CE54
square
#4073CE #CE40BA #CE9B40 #40CE54
split-complementary
#4073CE #CE5440 #BACE40
monochromatic
#1E3D75 #2B57A6 #4073CE #7197DA #A1BAE7

Accessibility & contrast

On white

4.60
#4073CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#4073CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4073CE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4073CE#FFFFFF#000000##FFFFFF
##4073CE1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#467CD1
Deuteranopia (green-blind)
#2C6FCC
Tritanopia (blue-blind)
#008896
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4073ce;
/* rgb */ color: rgb(64, 115, 206);
/* oklch */ color: oklch(56.7% 0.151 261.0);
Tailwind
colors: {
  custom: {
    50: '#859add',
    500: '#4073ce',
    950: '#000000',
  },
}
SCSS
$custom: #4073ce;
$custom-light: #859add;
$custom-dark: #000000;
JSON
{
  "hex": "#4073ce",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 206
  },
  "hsl": {
    "h": 218.451,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56673,
    "c": 0.15107,
    "h": 261
  },
  "luminance": 0.17808
}

Semantic roles & 50–950 ramp

primary
#4073CE
secondary
#D4BE96
accent
#AA45E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4073CE

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

Preview Lab → · Contrast checker → · Palette generator →

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