#4053C5#4053C5

#4053C5 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.5% C 0.178 H 271.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#4053C5
RGBrgb(64, 83, 197)
HSLhsl(231, 53%, 51%)
HSVhsv(231, 68%, 77%)
CMYKcmyk(67.5%, 57.9%, 0%, 22.7%)
CIE-LABlab(40.09, 30.11, -61.79)
CIE-LCHlch(40.09, 68.73, 295.98°)
OKLaboklab(49.52% 0.0037 -0.1779)
OKLCHoklch(49.52% 0.178 271.2)
XYZxyz(15.2822, 11.3063, 54.1895)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4053C5 #C5B240
analogous
#4095C5 #4053C5 #6F40C5
triadic
#4053C5 #C54053 #53C540
tetradic
#4053C5 #C54095 #C5B240 #40C56F
square
#4053C5 #C54095 #C5B240 #40C56F
split-complementary
#4053C5 #C56F40 #95C540
monochromatic
#202B6A #2F3E99 #4053C5 #6F7DD3 #9EA8E2

Accessibility & contrast

On white

6.44
#4053C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4053C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4053C5
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4053C5#FFFFFF#000000##FFFFFF
##4053C51.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#0059C3
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4053c5;
/* rgb */ color: rgb(64, 83, 197);
/* oklch */ color: oklch(49.5% 0.178 271.2);
Tailwind
colors: {
  custom: {
    50: '#8483d7',
    500: '#4053c5',
    950: '#000000',
  },
}
SCSS
$custom: #4053c5;
$custom-light: #8483d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4053c5",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 197
  },
  "hsl": {
    "h": 231.429,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49523,
    "c": 0.17799,
    "h": 271.2
  },
  "luminance": 0.11308
}

Semantic roles & 50–950 ramp

primary
#4053C5
secondary
#CEC593
accent
#C84BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4053C5

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

Preview Lab → · Contrast checker → · Palette generator →

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