#4073CB#4073CB

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

Color values

HEX#4073CB
RGBrgb(64, 115, 203)
HSLhsl(218, 57%, 52%)
HSVhsv(218, 68%, 80%)
CMYKcmyk(68.5%, 43.3%, 0%, 20.4%)
CIE-LABlab(49.08, 11.93, -50.74)
CIE-LCHlch(49.08, 52.13, 283.23°)
OKLaboklab(56.48% -0.0242 -0.145)
OKLCHoklch(56.48% 0.147 260.5)
XYZxyz(19.0207, 17.6613, 58.8949)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4073CB #CB9840
analogous
#40B8CB #4073CB #5340CB
triadic
#4073CB #CB4073 #73CB40
tetradic
#4073CB #CB40B8 #CB9840 #40CB53
square
#4073CB #CB40B8 #CB9840 #40CB53
split-complementary
#4073CB #CB5340 #B8CB40
monochromatic
#1F3D72 #2C57A2 #4073CB #7096D8 #A0BAE5

Accessibility & contrast

On white

4.63
#4073CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#4073CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4073CB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4073CB#FFFFFF#000000##FFFFFF
##4073CB1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#497CCE
Deuteranopia (green-blind)
#316FC9
Tritanopia (blue-blind)
#008795
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4073cb;
/* rgb */ color: rgb(64, 115, 203);
/* oklch */ color: oklch(56.5% 0.147 260.5);
Tailwind
colors: {
  custom: {
    50: '#849adb',
    500: '#4073cb',
    950: '#000000',
  },
}
SCSS
$custom: #4073cb;
$custom-light: #849adb;
$custom-dark: #000000;
JSON
{
  "hex": "#4073cb",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 203
  },
  "hsl": {
    "h": 217.986,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56479,
    "c": 0.14701,
    "h": 260.5
  },
  "luminance": 0.17663
}

Semantic roles & 50–950 ramp

primary
#4073CB
secondary
#D2BB95
accent
#A847E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4073CB

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

Preview Lab → · Contrast checker → · Palette generator →

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