#4073D4#4073D4

#4073D4 is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.1% C 0.159 H 261.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4073D4
RGBrgb(64, 115, 212)
HSLhsl(219, 63%, 54%)
HSVhsv(219, 70%, 83%)
CMYKcmyk(69.8%, 45.8%, 0%, 16.9%)
CIE-LABlab(49.62, 15.16, -55.01)
CIE-LCHlch(49.62, 57.06, 285.41°)
OKLaboklab(57.07% -0.0226 -0.1575)
OKLCHoklch(57.07% 0.159 261.8)
XYZxyz(20.1245, 18.1028, 64.7082)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4073D4 #D4A140
analogous
#40BDD4 #4073D4 #5740D4
triadic
#4073D4 #D44073 #73D440
tetradic
#4073D4 #D440BD #D4A140 #40D457
square
#4073D4 #D440BD #D4A140 #40D457
split-complementary
#4073D4 #D45740 #BDD440
monochromatic
#1C3E7D #2756AF #4073D4 #7298DF #A4BCEA

Accessibility & contrast

On white

4.54
#4073D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#4073D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4073D4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4073D4#FFFFFF#000000##000000
##4073D41.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#417DD8
Deuteranopia (green-blind)
#2270D2
Tritanopia (blue-blind)
#008A99
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4073d4;
/* rgb */ color: rgb(64, 115, 212);
/* oklch */ color: oklch(57.1% 0.159 261.8);
Tailwind
colors: {
  custom: {
    50: '#869ae2',
    500: '#4073d4',
    950: '#000000',
  },
}
SCSS
$custom: #4073d4;
$custom-light: #869ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#4073d4",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 212
  },
  "hsl": {
    "h": 219.324,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57067,
    "c": 0.15916,
    "h": 261.8
  },
  "luminance": 0.18105
}

Semantic roles & 50–950 ramp

primary
#4073D4
secondary
#D7C298
accent
#AE42E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4073D4

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

Preview Lab → · Contrast checker → · Palette generator →

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