#4073D2#4073D2

#4073D2 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 56.9% C 0.156 H 261.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4073D2
RGBrgb(64, 115, 210)
HSLhsl(219, 62%, 54%)
HSVhsv(219, 70%, 82%)
CMYKcmyk(69.5%, 45.2%, 0%, 17.6%)
CIE-LABlab(49.50, 14.44, -54.07)
CIE-LCHlch(49.50, 55.96, 284.96°)
OKLaboklab(56.93% -0.0229 -0.1548)
OKLCHoklch(56.93% 0.156 261.6)
XYZxyz(19.8738, 18.0025, 63.3877)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4073D2 #D29F40
analogous
#40BCD2 #4073D2 #5640D2
triadic
#4073D2 #D24073 #73D240
tetradic
#4073D2 #D240BC #D29F40 #40D256
square
#4073D2 #D240BC #D29F40 #40D256
split-complementary
#4073D2 #D25640 #BCD240
monochromatic
#1D3E7B #2957AC #4073D2 #7297DE #A3BCE9

Accessibility & contrast

On white

4.56
#4073D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#4073D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4073D2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4073D2#FFFFFF#000000##000000
##4073D21.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#437DD6
Deuteranopia (green-blind)
#266FD0
Tritanopia (blue-blind)
#008998
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4073d2;
/* rgb */ color: rgb(64, 115, 210);
/* oklch */ color: oklch(56.9% 0.156 261.6);
Tailwind
colors: {
  custom: {
    50: '#859ae0',
    500: '#4073d2',
    950: '#000000',
  },
}
SCSS
$custom: #4073d2;
$custom-light: #859ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#4073d2",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 210
  },
  "hsl": {
    "h": 219.041,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56934,
    "c": 0.15647,
    "h": 261.6
  },
  "luminance": 0.18005
}

Semantic roles & 50–950 ramp

primary
#4073D2
secondary
#D6C098
accent
#AC43E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4073D2

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

Preview Lab → · Contrast checker → · Palette generator →

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