#4073CC#4073CC

#4073CC is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.5% C 0.148 H 260.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4073CC
RGBrgb(64, 115, 204)
HSLhsl(218, 58%, 53%)
HSVhsv(218, 69%, 80%)
CMYKcmyk(68.6%, 43.6%, 0%, 20%)
CIE-LABlab(49.14, 12.29, -51.22)
CIE-LCHlch(49.14, 52.68, 283.49°)
OKLaboklab(56.54% -0.024 -0.1464)
OKLCHoklch(56.54% 0.148 260.7)
XYZxyz(19.1403, 17.7091, 59.5245)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4073CC #CC9940
analogous
#40B9CC #4073CC #5340CC
triadic
#4073CC #CC4073 #73CC40
tetradic
#4073CC #CC40B9 #CC9940 #40CC53
square
#4073CC #CC40B9 #CC9940 #40CC53
split-complementary
#4073CC #CC5340 #B9CC40
monochromatic
#1F3D73 #2C57A3 #4073CC #7096D9 #A1BAE6

Accessibility & contrast

On white

4.62
#4073CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#4073CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4073CC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4073CC#FFFFFF#000000##FFFFFF
##4073CC1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#487CCF
Deuteranopia (green-blind)
#2F6FCA
Tritanopia (blue-blind)
#008895
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4073cc;
/* rgb */ color: rgb(64, 115, 204);
/* oklch */ color: oklch(56.5% 0.148 260.7);
Tailwind
colors: {
  custom: {
    50: '#849adc',
    500: '#4073cc',
    950: '#000000',
  },
}
SCSS
$custom: #4073cc;
$custom-light: #849adc;
$custom-dark: #000000;
JSON
{
  "hex": "#4073cc",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 204
  },
  "hsl": {
    "h": 218.143,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56543,
    "c": 0.14836,
    "h": 260.7
  },
  "luminance": 0.17711
}

Semantic roles & 50–950 ramp

primary
#4073CC
secondary
#D2BC95
accent
#A947E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4073CC

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

Preview Lab → · Contrast checker → · Palette generator →

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