#4053C7#4053C7

#4053C7 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.7% C 0.181 H 271.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#4053C7
RGBrgb(64, 83, 199)
HSLhsl(232, 55%, 52%)
HSVhsv(232, 68%, 78%)
CMYKcmyk(67.8%, 58.3%, 0%, 22%)
CIE-LABlab(40.24, 30.82, -62.70)
CIE-LCHlch(40.24, 69.86, 296.17°)
OKLaboklab(49.68% 0.0037 -0.1806)
OKLCHoklch(49.68% 0.181 271.2)
XYZxyz(15.5129, 11.3986, 55.4044)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4053C7 #C7B440
analogous
#4096C7 #4053C7 #7140C7
triadic
#4053C7 #C74053 #53C740
tetradic
#4053C7 #C74096 #C7B440 #40C771
square
#4053C7 #C74096 #C7B440 #40C771
split-complementary
#4053C7 #C77140 #96C740
monochromatic
#202B6D #2E3D9C #4053C7 #6F7ED5 #9FA8E3

Accessibility & contrast

On white

6.40
#4053C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4053C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4053C7
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4053C7#FFFFFF#000000##FFFFFF
##4053C71.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CB
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#007085
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4053c7;
/* rgb */ color: rgb(64, 83, 199);
/* oklch */ color: oklch(49.7% 0.181 271.2);
Tailwind
colors: {
  custom: {
    50: '#8583d9',
    500: '#4053c7',
    950: '#000000',
  },
}
SCSS
$custom: #4053c7;
$custom-light: #8583d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4053c7",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 199
  },
  "hsl": {
    "h": 231.556,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49684,
    "c": 0.18068,
    "h": 271.2
  },
  "luminance": 0.114
}

Semantic roles & 50–950 ramp

primary
#4053C7
secondary
#CFC794
accent
#C94ADE
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #4053C7

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

Preview Lab → · Contrast checker → · Palette generator →

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