#4073CA#4073CA

#4073CA is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.4% C 0.146 H 260.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4073CA
RGBrgb(64, 115, 202)
HSLhsl(218, 57%, 52%)
HSVhsv(218, 68%, 79%)
CMYKcmyk(68.3%, 43.1%, 0%, 20.8%)
CIE-LABlab(49.02, 11.57, -50.27)
CIE-LCHlch(49.02, 51.58, 282.96°)
OKLaboklab(56.42% -0.0244 -0.1436)
OKLCHoklch(56.42% 0.146 260.4)
XYZxyz(18.9019, 17.6138, 58.2693)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4073CA #CA9740
analogous
#40B8CA #4073CA #5240CA
triadic
#4073CA #CA4073 #73CA40
tetradic
#4073CA #CA40B8 #CA9740 #40CA52
square
#4073CA #CA40B8 #CA9740 #40CA52
split-complementary
#4073CA #CA5240 #B8CA40
monochromatic
#1F3D70 #2C57A0 #4073CA #7096D7 #A0B9E5

Accessibility & contrast

On white

4.64
#4073CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#4073CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4073CA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4073CA#FFFFFF#000000##FFFFFF
##4073CA1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#497BCD
Deuteranopia (green-blind)
#326FC8
Tritanopia (blue-blind)
#008794
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4073ca;
/* rgb */ color: rgb(64, 115, 202);
/* oklch */ color: oklch(56.4% 0.146 260.4);
Tailwind
colors: {
  custom: {
    50: '#849adb',
    500: '#4073ca',
    950: '#000000',
  },
}
SCSS
$custom: #4073ca;
$custom-light: #849adb;
$custom-dark: #000000;
JSON
{
  "hex": "#4073ca",
  "rgb": {
    "r": 64,
    "g": 115,
    "b": 202
  },
  "hsl": {
    "h": 217.826,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.56415,
    "c": 0.14565,
    "h": 260.4
  },
  "luminance": 0.17616
}

Semantic roles & 50–950 ramp

primary
#4073CA
secondary
#D1BB95
accent
#A848E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4073CA

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

Preview Lab → · Contrast checker → · Palette generator →

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