#4073BD#4073BD

#4073BD is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.6% C 0.128 H 257.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4073BD
RGBrgb(64, 115, 189)
HSLhsl(216, 49%, 50%)
HSVhsv(216, 66%, 74%)
CMYKcmyk(66.1%, 39.2%, 0%, 25.9%)
CIE-LABlab(48.29, 6.94, -43.97)
CIE-LCHlch(48.29, 44.51, 278.97°)
OKLaboklab(55.61% -0.0271 -0.1251)
OKLCHoklch(55.61% 0.128 257.8)
XYZxyz(17.4271, 17.0239, 50.5018)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4073BD #BD8A40
analogous
#40B2BD #4073BD #4C40BD
triadic
#4073BD #BD4073 #73BD40
tetradic
#4073BD #BD40B2 #BD8A40 #40BD4C
square
#4073BD #BD40B2 #BD8A40 #40BD4C
split-complementary
#4073BD #BD4C40 #B2BD40
monochromatic
#213B62 #31578F #4073BD #6D94CD #9AB6DD

Accessibility & contrast

On white

4.77
#4073BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#4073BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4073BD
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4073BD#FFFFFF#000000##FFFFFF
##4073BD1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5279C0
Deuteranopia (green-blind)
#3F6DBB
Tritanopia (blue-blind)
#00848F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4073bd;
/* rgb */ color: rgb(64, 115, 189);
/* oklch */ color: oklch(55.6% 0.128 257.8);
Tailwind
colors: {
  custom: {
    50: '#829ad1',
    500: '#4073bd',
    950: '#000000',
  },
}
SCSS
$custom: #4073bd;
$custom-light: #829ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#4073bd",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 189
  },
  "hsl": {
    "h": 215.52,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55608,
    "c": 0.12803,
    "h": 257.8
  },
  "luminance": 0.17026
}

Semantic roles & 50–950 ramp

primary
#4073BD
secondary
#C9B290
accent
#A14FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #4073BD

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

Preview Lab → · Contrast checker → · Palette generator →

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