#4053CD#4053CD

#4053CD is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.2% C 0.189 H 271.1°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4053CD
RGBrgb(64, 83, 205)
HSLhsl(232, 59%, 53%)
HSVhsv(232, 69%, 80%)
CMYKcmyk(68.8%, 59.5%, 0%, 19.6%)
CIE-LABlab(40.71, 32.93, -65.42)
CIE-LCHlch(40.71, 73.24, 296.72°)
OKLaboklab(50.17% 0.0037 -0.1886)
OKLCHoklch(50.17% 0.189 271.1)
XYZxyz(16.2233, 11.6827, 59.1458)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4053CD #CDBA40
analogous
#4099CD #4053CD #7440CD
triadic
#4053CD #CD4053 #53CD40
tetradic
#4053CD #CD4099 #CDBA40 #40CD74
square
#4053CD #CD4099 #CDBA40 #40CD74
split-complementary
#4053CD #CD7440 #99CD40
monochromatic
#1E2A74 #2B3BA5 #4053CD #717FDA #A1AAE6

Accessibility & contrast

On white

6.29
#4053CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4053CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4053CD
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4053CD#FFFFFF#000000##FFFFFF
##4053CD1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4053cd;
/* rgb */ color: rgb(64, 83, 205);
/* oklch */ color: oklch(50.2% 0.189 271.1);
Tailwind
colors: {
  custom: {
    50: '#8683dd',
    500: '#4053cd',
    950: '#000000',
  },
}
SCSS
$custom: #4053cd;
$custom-light: #8683dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4053cd",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 205
  },
  "hsl": {
    "h": 231.915,
    "s": 58.506,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50173,
    "c": 0.18866,
    "h": 271.1
  },
  "luminance": 0.11684
}

Semantic roles & 50–950 ramp

primary
#4053CD
secondary
#D3CB96
accent
#CD46E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0A15
muted
#7D7C83

Preview Lab

Preview with #4053CD

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

Preview Lab → · Contrast checker → · Palette generator →

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