#4073BC#4073BC

#4073BC is a mid, vivid blue. Relative luminance 0.170; OKLCH L 55.5% C 0.127 H 257.5°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4073BC
RGBrgb(64, 115, 188)
HSLhsl(215, 49%, 49%)
HSVhsv(215, 66%, 74%)
CMYKcmyk(66%, 38.8%, 0%, 26.3%)
CIE-LABlab(48.24, 6.59, -43.48)
CIE-LCHlch(48.24, 43.98, 278.61°)
OKLaboklab(55.55% -0.0273 -0.1237)
OKLCHoklch(55.55% 0.127 257.5)
XYZxyz(17.3189, 16.9806, 49.9321)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4073BC #BC8940
analogous
#40B1BC #4073BC #4B40BC
triadic
#4073BC #BC4073 #73BC40
tetradic
#4073BC #BC40B1 #BC8940 #40BC4B
square
#4073BC #BC40B1 #BC8940 #40BC4B
split-complementary
#4073BC #BC4B40 #B1BC40
monochromatic
#213B61 #30578E #4073BC #6C94CD #9AB5DD

Accessibility & contrast

On white

4.78
#4073BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4073BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4073BC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4073BC#FFFFFF#000000##FFFFFF
##4073BC1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5279BF
Deuteranopia (green-blind)
#406DBB
Tritanopia (blue-blind)
#00848E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4073bc;
/* rgb */ color: rgb(64, 115, 188);
/* oklch */ color: oklch(55.5% 0.127 257.5);
Tailwind
colors: {
  custom: {
    50: '#819ad0',
    500: '#4073bc',
    950: '#000000',
  },
}
SCSS
$custom: #4073bc;
$custom-light: #819ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#4073bc",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 188
  },
  "hsl": {
    "h": 215.323,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55548,
    "c": 0.12667,
    "h": 257.5
  },
  "luminance": 0.16982
}

Semantic roles & 50–950 ramp

primary
#4073BC
secondary
#C9B18F
accent
#A04FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #4073BC

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

Preview Lab → · Contrast checker → · Palette generator →

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