#4053D2#4053D2

#4053D2 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.6% C 0.195 H 271.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#4053D2
RGBrgb(64, 83, 210)
HSLhsl(232, 62%, 54%)
HSVhsv(232, 70%, 82%)
CMYKcmyk(69.5%, 60.5%, 0%, 17.6%)
CIE-LABlab(41.10, 34.68, -67.65)
CIE-LCHlch(41.10, 76.02, 297.14°)
OKLaboklab(50.59% 0.0037 -0.1952)
OKLCHoklch(50.59% 0.195 271.1)
XYZxyz(16.8365, 11.9280, 62.3753)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4053D2 #D2BF40
analogous
#409CD2 #4053D2 #7640D2
triadic
#4053D2 #D24053 #53D240
tetradic
#4053D2 #D2409C #D2BF40 #40D276
square
#4053D2 #D2409C #D2BF40 #40D276
split-complementary
#4053D2 #D27640 #9CD240
monochromatic
#1D297B #293AAC #4053D2 #7280DE #A3ACE9

Accessibility & contrast

On white

6.20
#4053D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4053D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4053D2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4053D2#FFFFFF#000000##FFFFFF
##4053D21.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#005AD0
Tritanopia (blue-blind)
#00738A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4053d2;
/* rgb */ color: rgb(64, 83, 210);
/* oklch */ color: oklch(50.6% 0.195 271.1);
Tailwind
colors: {
  custom: {
    50: '#8783e1',
    500: '#4053d2',
    950: '#000000',
  },
}
SCSS
$custom: #4053d2;
$custom-light: #8783e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4053d2",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 210
  },
  "hsl": {
    "h": 232.192,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50588,
    "c": 0.19522,
    "h": 271.1
  },
  "luminance": 0.1193
}

Semantic roles & 50–950 ramp

primary
#4053D2
secondary
#D6CE98
accent
#D043E5
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4053D2

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

Preview Lab → · Contrast checker → · Palette generator →

#4053D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva