#4053D9#4053D9

#4053D9 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.2% C 0.204 H 271.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#4053D9
RGBrgb(64, 83, 217)
HSLhsl(233, 67%, 55%)
HSVhsv(233, 71%, 85%)
CMYKcmyk(70.5%, 61.8%, 0%, 14.9%)
CIE-LABlab(41.66, 37.12, -70.75)
CIE-LCHlch(41.66, 79.90, 297.69°)
OKLaboklab(51.18% 0.0035 -0.2043)
OKLCHoklch(51.18% 0.204 271)
XYZxyz(17.7277, 12.2845, 67.0691)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4053D9 #D9C640
analogous
#409FD9 #4053D9 #7940D9
triadic
#4053D9 #D94053 #53D940
tetradic
#4053D9 #D9409F #D9C640 #40D979
square
#4053D9 #D9409F #D9C640 #40D979
split-complementary
#4053D9 #D97940 #9FD940
monochromatic
#1A2784 #2437B7 #4053D9 #7381E3 #A6AFED

Accessibility & contrast

On white

6.07
#4053D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4053D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4053D9
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4053D9#FFFFFF#000000##FFFFFF
##4053D91.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#005BD6
Tritanopia (blue-blind)
#00758E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4053d9;
/* rgb */ color: rgb(64, 83, 217);
/* oklch */ color: oklch(51.2% 0.204 271.0);
Tailwind
colors: {
  custom: {
    50: '#8883e6',
    500: '#4053d9',
    950: '#000000',
  },
}
SCSS
$custom: #4053d9;
$custom-light: #8883e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4053d9",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 217
  },
  "hsl": {
    "h": 232.549,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51179,
    "c": 0.2043,
    "h": 271
  },
  "luminance": 0.12286
}

Semantic roles & 50–950 ramp

primary
#4053D9
secondary
#DAD39A
accent
#D43EEA
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #4053D9

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

Preview Lab → · Contrast checker → · Palette generator →

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