#4073DC#4073DC

#4073DC is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.6% C 0.170 H 262.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4073DC
RGBrgb(64, 115, 220)
HSLhsl(220, 69%, 56%)
HSVhsv(220, 71%, 86%)
CMYKcmyk(70.9%, 47.7%, 0%, 13.7%)
CIE-LABlab(50.12, 18.05, -58.75)
CIE-LCHlch(50.12, 61.46, 287.08°)
OKLaboklab(57.61% -0.0214 -0.1685)
OKLCHoklch(57.61% 0.17 262.8)
XYZxyz(21.1588, 18.5165, 70.1552)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4073DC #DCA940
analogous
#40C1DC #4073DC #5B40DC
triadic
#4073DC #DC4073 #73DC40
tetradic
#4073DC #DC40C1 #DCA940 #40DC5B
square
#4073DC #DC40C1 #DCA940 #40DC5B
split-complementary
#4073DC #DC5B40 #C1DC40
monochromatic
#193D89 #2355BC #4073DC #7499E5 #A7BFEF

Accessibility & contrast

On white

4.46
#4073DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4073DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4073DC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4073DC#FFFFFF#000000##000000
##4073DC1.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7FE0
Deuteranopia (green-blind)
#0B71DA
Tritanopia (blue-blind)
#008C9D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4073dc;
/* rgb */ color: rgb(64, 115, 220);
/* oklch */ color: oklch(57.6% 0.170 262.8);
Tailwind
colors: {
  custom: {
    50: '#879ae7',
    500: '#4073dc',
    950: '#000000',
  },
}
SCSS
$custom: #4073dc;
$custom-light: #879ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#4073dc",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 220
  },
  "hsl": {
    "h": 220.385,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57607,
    "c": 0.16989,
    "h": 262.8
  },
  "luminance": 0.18519
}

Semantic roles & 50–950 ramp

primary
#4073DC
secondary
#DCC79B
accent
#B23CEC
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4073DC

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

Preview Lab → · Contrast checker → · Palette generator →

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