#4053E2#4053E2

#4053E2 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.0% C 0.216 H 270.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#4053E2
RGBrgb(64, 83, 226)
HSLhsl(233, 74%, 57%)
HSVhsv(233, 72%, 89%)
CMYKcmyk(71.7%, 63.3%, 0%, 11.4%)
CIE-LABlab(42.41, 40.24, -74.66)
CIE-LCHlch(42.41, 84.82, 298.32°)
OKLaboklab(51.96% 0.0031 -0.2157)
OKLCHoklch(51.96% 0.216 270.8)
XYZxyz(18.9304, 12.7655, 73.4031)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4053E2 #E2CF40
analogous
#40A4E2 #4053E2 #7E40E2
triadic
#4053E2 #E24053 #53E240
tetradic
#4053E2 #E240A4 #E2CF40 #40E27E
square
#4053E2 #E240A4 #E2CF40 #40E27E
split-complementary
#4053E2 #E27E40 #A4E240
monochromatic
#162592 #1E32C7 #4053E2 #7583EA #AAB3F2

Accessibility & contrast

On white

5.91
#4053E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4053E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4053E2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4053E2#FFFFFF#000000##FFFFFF
##4053E21.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#005DDF
Tritanopia (blue-blind)
#007893
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4053e2;
/* rgb */ color: rgb(64, 83, 226);
/* oklch */ color: oklch(52.0% 0.216 270.8);
Tailwind
colors: {
  custom: {
    50: '#8a83ec',
    500: '#4053e2',
    950: '#000000',
  },
}
SCSS
$custom: #4053e2;
$custom-light: #8a83ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4053e2",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 226
  },
  "hsl": {
    "h": 232.963,
    "s": 73.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51956,
    "c": 0.21577,
    "h": 270.8
  },
  "luminance": 0.12767
}

Semantic roles & 50–950 ramp

primary
#4053E2
secondary
#E0D89E
accent
#DB38F0
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4053E2

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

Preview Lab → · Contrast checker → · Palette generator →

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