#4073C4#4073C4

#4073C4 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.0% C 0.138 H 259.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4073C4
RGBrgb(64, 115, 196)
HSLhsl(217, 53%, 51%)
HSVhsv(217, 67%, 77%)
CMYKcmyk(67.3%, 41.3%, 0%, 23.1%)
CIE-LABlab(48.68, 9.43, -47.38)
CIE-LCHlch(48.68, 48.31, 281.25°)
OKLaboklab(56.04% -0.0256 -0.1351)
OKLCHoklch(56.04% 0.138 259.3)
XYZxyz(18.2053, 17.3352, 54.6004)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4073C4 #C49140
analogous
#40B5C4 #4073C4 #4F40C4
triadic
#4073C4 #C44073 #73C440
tetradic
#4073C4 #C440B5 #C49140 #40C44F
square
#4073C4 #C440B5 #C49140 #40C44F
split-complementary
#4073C4 #C44F40 #B5C440
monochromatic
#203D69 #2F5798 #4073C4 #6F95D2 #9EB8E1

Accessibility & contrast

On white

4.70
#4073C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4073C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4073C4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4073C4#FFFFFF#000000##FFFFFF
##4073C41.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D7AC7
Deuteranopia (green-blind)
#396EC2
Tritanopia (blue-blind)
#008692
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4073c4;
/* rgb */ color: rgb(64, 115, 196);
/* oklch */ color: oklch(56.0% 0.138 259.3);
Tailwind
colors: {
  custom: {
    50: '#839ad6',
    500: '#4073c4',
    950: '#000000',
  },
}
SCSS
$custom: #4073c4;
$custom-light: #839ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#4073c4",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 196
  },
  "hsl": {
    "h": 216.818,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56037,
    "c": 0.13752,
    "h": 259.3
  },
  "luminance": 0.17337
}

Semantic roles & 50–950 ramp

primary
#4073C4
secondary
#CDB793
accent
#A44CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4073C4

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

Preview Lab → · Contrast checker → · Palette generator →

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