#4053D8#4053D8

#4053D8 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.1% C 0.203 H 271.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4053D8
RGBrgb(64, 83, 216)
HSLhsl(233, 66%, 55%)
HSVhsv(233, 70%, 85%)
CMYKcmyk(70.4%, 61.6%, 0%, 15.3%)
CIE-LABlab(41.58, 36.77, -70.31)
CIE-LCHlch(41.58, 79.35, 297.61°)
OKLaboklab(51.09% 0.0035 -0.203)
OKLCHoklch(51.09% 0.203 271)
XYZxyz(17.5981, 12.2326, 66.3861)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4053D8 #D8C540
analogous
#409FD8 #4053D8 #7940D8
triadic
#4053D8 #D84053 #53D840
tetradic
#4053D8 #D8409F #D8C540 #40D879
square
#4053D8 #D8409F #D8C540 #40D879
split-complementary
#4053D8 #D87940 #9FD840
monochromatic
#1B2883 #2537B6 #4053D8 #7381E2 #A6AFED

Accessibility & contrast

On white

6.09
#4053D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4053D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4053D8
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4053D8#FFFFFF#000000##FFFFFF
##4053D81.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#005BD5
Tritanopia (blue-blind)
#00758E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4053d8;
/* rgb */ color: rgb(64, 83, 216);
/* oklch */ color: oklch(51.1% 0.203 271.0);
Tailwind
colors: {
  custom: {
    50: '#8883e5',
    500: '#4053d8',
    950: '#000000',
  },
}
SCSS
$custom: #4053d8;
$custom-light: #8883e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4053d8",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 216
  },
  "hsl": {
    "h": 232.5,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51094,
    "c": 0.20301,
    "h": 271
  },
  "luminance": 0.12234
}

Semantic roles & 50–950 ramp

primary
#4053D8
secondary
#DAD29A
accent
#D43FE9
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #4053D8

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

Preview Lab → · Contrast checker → · Palette generator →

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