#4073CF#4073CF

#4073CF is a mid, vivid blue. Relative luminance 0.179; OKLCH L 56.7% C 0.152 H 261.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4073CF
RGBrgb(64, 115, 207)
HSLhsl(219, 60%, 53%)
HSVhsv(219, 69%, 81%)
CMYKcmyk(69.1%, 44.4%, 0%, 18.8%)
CIE-LABlab(49.32, 13.37, -52.65)
CIE-LCHlch(49.32, 54.32, 284.25°)
OKLaboklab(56.74% -0.0234 -0.1506)
OKLCHoklch(56.74% 0.152 261.2)
XYZxyz(19.5036, 17.8544, 61.4378)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4073CF #CF9C40
analogous
#40BBCF #4073CF #5440CF
triadic
#4073CF #CF4073 #73CF40
tetradic
#4073CF #CF40BB #CF9C40 #40CF54
square
#4073CF #CF40BB #CF9C40 #40CF54
split-complementary
#4073CF #CF5440 #BBCF40
monochromatic
#1E3E77 #2A57A8 #4073CF #7197DB #A2BBE8

Accessibility & contrast

On white

4.59
#4073CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#4073CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4073CF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4073CF#FFFFFF#000000##FFFFFF
##4073CF1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#467CD3
Deuteranopia (green-blind)
#2B6FCD
Tritanopia (blue-blind)
#008897
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4073cf;
/* rgb */ color: rgb(64, 115, 207);
/* oklch */ color: oklch(56.7% 0.152 261.2);
Tailwind
colors: {
  custom: {
    50: '#859ade',
    500: '#4073cf',
    950: '#000000',
  },
}
SCSS
$custom: #4073cf;
$custom-light: #859ade;
$custom-dark: #000000;
JSON
{
  "hex": "#4073cf",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 207
  },
  "hsl": {
    "h": 218.601,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56738,
    "c": 0.15242,
    "h": 261.2
  },
  "luminance": 0.17856
}

Semantic roles & 50–950 ramp

primary
#4073CF
secondary
#D4BE97
accent
#AB45E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4073CF

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

Preview Lab → · Contrast checker → · Palette generator →

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