#4053C4#4053C4

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

Color values

HEX#4053C4
RGBrgb(64, 83, 196)
HSLhsl(231, 53%, 51%)
HSVhsv(231, 67%, 77%)
CMYKcmyk(67.3%, 57.7%, 0%, 23.1%)
CIE-LABlab(40.02, 29.76, -61.33)
CIE-LCHlch(40.02, 68.17, 295.88°)
OKLaboklab(49.44% 0.0037 -0.1766)
OKLCHoklch(49.44% 0.177 271.2)
XYZxyz(15.1680, 11.2606, 53.5880)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4053C4 #C4B140
analogous
#4095C4 #4053C4 #6F40C4
triadic
#4053C4 #C44053 #53C440
tetradic
#4053C4 #C44095 #C4B140 #40C46F
square
#4053C4 #C44095 #C4B140 #40C46F
split-complementary
#4053C4 #C46F40 #95C440
monochromatic
#202B69 #2F3E98 #4053C4 #6F7DD2 #9EA7E1

Accessibility & contrast

On white

6.46
#4053C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4053C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4053C4
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4053C4#FFFFFF#000000##FFFFFF
##4053C41.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C8
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4053c4;
/* rgb */ color: rgb(64, 83, 196);
/* oklch */ color: oklch(49.4% 0.177 271.2);
Tailwind
colors: {
  custom: {
    50: '#8483d7',
    500: '#4053c4',
    950: '#000000',
  },
}
SCSS
$custom: #4053c4;
$custom-light: #8483d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4053c4",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 196
  },
  "hsl": {
    "h": 231.364,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49443,
    "c": 0.17665,
    "h": 271.2
  },
  "luminance": 0.11262
}

Semantic roles & 50–950 ramp

primary
#4053C4
secondary
#CDC593
accent
#C74CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4053C4

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

Preview Lab → · Contrast checker → · Palette generator →

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