#4073C8#4073C8

#4073C8 is a mid, vivid blue. Relative luminance 0.175; OKLCH L 56.3% C 0.143 H 260.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4073C8
RGBrgb(64, 115, 200)
HSLhsl(218, 55%, 52%)
HSVhsv(218, 68%, 78%)
CMYKcmyk(68%, 42.5%, 0%, 21.6%)
CIE-LABlab(48.91, 10.86, -49.31)
CIE-LCHlch(48.91, 50.49, 282.42°)
OKLaboklab(56.29% -0.0247 -0.1408)
OKLCHoklch(56.29% 0.143 260)
XYZxyz(18.6667, 17.5197, 57.0303)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4073C8 #C89540
analogous
#40B7C8 #4073C8 #5140C8
triadic
#4073C8 #C84073 #73C840
tetradic
#4073C8 #C840B7 #C89540 #40C851
square
#4073C8 #C840B7 #C89540 #40C851
split-complementary
#4073C8 #C85140 #B7C840
monochromatic
#203D6E #2D579D #4073C8 #7096D6 #9FB9E3

Accessibility & contrast

On white

4.66
#4073C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#4073C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4073C8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4073C8#FFFFFF#000000##FFFFFF
##4073C81.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B7BCB
Deuteranopia (green-blind)
#346EC6
Tritanopia (blue-blind)
#008794
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4073c8;
/* rgb */ color: rgb(64, 115, 200);
/* oklch */ color: oklch(56.3% 0.143 260.0);
Tailwind
colors: {
  custom: {
    50: '#839ad9',
    500: '#4073c8',
    950: '#000000',
  },
}
SCSS
$custom: #4073c8;
$custom-light: #839ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#4073c8",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 200
  },
  "hsl": {
    "h": 217.5,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56288,
    "c": 0.14294,
    "h": 260
  },
  "luminance": 0.17522
}

Semantic roles & 50–950 ramp

primary
#4073C8
secondary
#D0B994
accent
#A749DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4073C8

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

Preview Lab → · Contrast checker → · Palette generator →

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