#4073C0#4073C0

#4073C0 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 55.8% C 0.132 H 258.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#4073C0
RGBrgb(64, 115, 192)
HSLhsl(216, 50%, 50%)
HSVhsv(216, 67%, 75%)
CMYKcmyk(66.7%, 40.1%, 0%, 24.7%)
CIE-LABlab(48.46, 8.00, -45.44)
CIE-LCHlch(48.46, 46.13, 279.99°)
OKLaboklab(55.79% -0.0264 -0.1294)
OKLCHoklch(55.79% 0.132 258.5)
XYZxyz(17.7561, 17.1555, 52.2345)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4073C0 #C08D40
analogous
#40B3C0 #4073C0 #4D40C0
triadic
#4073C0 #C04073 #73C040
tetradic
#4073C0 #C040B3 #C08D40 #40C04D
square
#4073C0 #C040B3 #C08D40 #40C04D
split-complementary
#4073C0 #C04D40 #B3C040
monochromatic
#213C64 #305792 #4073C0 #6E95CF #9CB6DE

Accessibility & contrast

On white

4.74
#4073C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#4073C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4073C0
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4073C0#FFFFFF#000000##FFFFFF
##4073C01.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#507AC3
Deuteranopia (green-blind)
#3D6EBE
Tritanopia (blue-blind)
#008590
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4073c0;
/* rgb */ color: rgb(64, 115, 192);
/* oklch */ color: oklch(55.8% 0.132 258.5);
Tailwind
colors: {
  custom: {
    50: '#829ad3',
    500: '#4073c0',
    950: '#000000',
  },
}
SCSS
$custom: #4073c0;
$custom-light: #829ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#4073c0",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 192
  },
  "hsl": {
    "h": 216.094,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5579,
    "c": 0.13209,
    "h": 258.5
  },
  "luminance": 0.17157
}

Semantic roles & 50–950 ramp

primary
#4073C0
secondary
#CBB491
accent
#A24EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4073C0

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

Preview Lab → · Contrast checker → · Palette generator →

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