#4073BF#4073BF

#4073BF is a mid, vivid blue. Relative luminance 0.171; OKLCH L 55.7% C 0.131 H 258.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4073BF
RGBrgb(64, 115, 191)
HSLhsl(216, 50%, 50%)
HSVhsv(216, 66%, 75%)
CMYKcmyk(66.5%, 39.8%, 0%, 25.1%)
CIE-LABlab(48.40, 7.65, -44.95)
CIE-LCHlch(48.40, 45.59, 279.66°)
OKLaboklab(55.73% -0.0266 -0.128)
OKLCHoklch(55.73% 0.131 258.2)
XYZxyz(17.6457, 17.1113, 51.6530)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4073BF #BF8C40
analogous
#40B2BF #4073BF #4D40BF
triadic
#4073BF #BF4073 #73BF40
tetradic
#4073BF #BF40B2 #BF8C40 #40BF4D
square
#4073BF #BF40B2 #BF8C40 #40BF4D
split-complementary
#4073BF #BF4D40 #B2BF40
monochromatic
#213C63 #315791 #4073BF #6E95CE #9CB6DE

Accessibility & contrast

On white

4.75
#4073BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#4073BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4073BF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4073BF#FFFFFF#000000##FFFFFF
##4073BF1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5179C2
Deuteranopia (green-blind)
#3E6DBD
Tritanopia (blue-blind)
#008490
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4073bf;
/* rgb */ color: rgb(64, 115, 191);
/* oklch */ color: oklch(55.7% 0.131 258.2);
Tailwind
colors: {
  custom: {
    50: '#829ad3',
    500: '#4073bf',
    950: '#000000',
  },
}
SCSS
$custom: #4073bf;
$custom-light: #829ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#4073bf",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 191
  },
  "hsl": {
    "h": 215.906,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.55729,
    "c": 0.13073,
    "h": 258.2
  },
  "luminance": 0.17113
}

Semantic roles & 50–950 ramp

primary
#4073BF
secondary
#CAB391
accent
#A24ED9
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4073BF

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

Preview Lab → · Contrast checker → · Palette generator →

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