#4073DB#4073DB

#4073DB is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.5% C 0.169 H 262.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4073DB
RGBrgb(64, 115, 219)
HSLhsl(220, 68%, 55%)
HSVhsv(220, 71%, 86%)
CMYKcmyk(70.8%, 47.5%, 0%, 14.1%)
CIE-LABlab(50.05, 17.68, -58.28)
CIE-LCHlch(50.05, 60.91, 286.88°)
OKLaboklab(57.54% -0.0215 -0.1672)
OKLCHoklch(57.54% 0.169 262.7)
XYZxyz(21.0267, 18.4637, 69.4598)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4073DB #DBA840
analogous
#40C0DB #4073DB #5A40DB
triadic
#4073DB #DB4073 #73DB40
tetradic
#4073DB #DB40C0 #DBA840 #40DB5A
square
#4073DB #DB40C0 #DBA840 #40DB5A
split-complementary
#4073DB #DB5A40 #C0DB40
monochromatic
#193E87 #2355BB #4073DB #7399E5 #A7BEEE

Accessibility & contrast

On white

4.47
#4073DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#4073DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4073DB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4073DB#FFFFFF#000000##000000
##4073DB1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7FDF
Deuteranopia (green-blind)
#0F70D9
Tritanopia (blue-blind)
#008B9C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4073db;
/* rgb */ color: rgb(64, 115, 219);
/* oklch */ color: oklch(57.5% 0.169 262.7);
Tailwind
colors: {
  custom: {
    50: '#879ae7',
    500: '#4073db',
    950: '#000000',
  },
}
SCSS
$custom: #4073db;
$custom-light: #879ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#4073db",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 219
  },
  "hsl": {
    "h": 220.258,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57538,
    "c": 0.16856,
    "h": 262.7
  },
  "luminance": 0.18466
}

Semantic roles & 50–950 ramp

primary
#4073DB
secondary
#DCC69B
accent
#B23DEB
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4073DB

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

Preview Lab → · Contrast checker → · Palette generator →

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