#4073C5#4073C5

#4073C5 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.1% C 0.139 H 259.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4073C5
RGBrgb(64, 115, 197)
HSLhsl(217, 53%, 51%)
HSVhsv(217, 68%, 77%)
CMYKcmyk(67.5%, 41.6%, 0%, 22.7%)
CIE-LABlab(48.74, 9.79, -47.86)
CIE-LCHlch(48.74, 48.85, 281.55°)
OKLaboklab(56.1% -0.0253 -0.1365)
OKLCHoklch(56.1% 0.139 259.5)
XYZxyz(18.3195, 17.3808, 55.2019)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4073C5 #C59240
analogous
#40B6C5 #4073C5 #4F40C5
triadic
#4073C5 #C54073 #73C540
tetradic
#4073C5 #C540B6 #C59240 #40C54F
square
#4073C5 #C540B6 #C59240 #40C54F
split-complementary
#4073C5 #C54F40 #B6C540
monochromatic
#203D6A #2F5799 #4073C5 #6F95D3 #9EB8E2

Accessibility & contrast

On white

4.69
#4073C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4073C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4073C5
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4073C5#FFFFFF#000000##FFFFFF
##4073C51.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D7AC8
Deuteranopia (green-blind)
#386EC3
Tritanopia (blue-blind)
#008692
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4073c5;
/* rgb */ color: rgb(64, 115, 197);
/* oklch */ color: oklch(56.1% 0.139 259.5);
Tailwind
colors: {
  custom: {
    50: '#839ad7',
    500: '#4073c5',
    950: '#000000',
  },
}
SCSS
$custom: #4073c5;
$custom-light: #839ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#4073c5",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 197
  },
  "hsl": {
    "h": 216.992,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56099,
    "c": 0.13887,
    "h": 259.5
  },
  "luminance": 0.17383
}

Semantic roles & 50–950 ramp

primary
#4073C5
secondary
#CEB793
accent
#A54BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4073C5

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

Preview Lab → · Contrast checker → · Palette generator →

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