#4053C2#4053C2

#4053C2 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.3% C 0.174 H 271.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#4053C2
RGBrgb(64, 83, 194)
HSLhsl(231, 52%, 51%)
HSVhsv(231, 67%, 76%)
CMYKcmyk(67%, 57.2%, 0%, 23.9%)
CIE-LABlab(39.87, 29.05, -60.41)
CIE-LCHlch(39.87, 67.03, 295.68°)
OKLaboklab(49.28% 0.0036 -0.1739)
OKLCHoklch(49.28% 0.174 271.2)
XYZxyz(14.9419, 11.1702, 52.3971)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4053C2 #C2AF40
analogous
#4094C2 #4053C2 #6E40C2
triadic
#4053C2 #C24053 #53C240
tetradic
#4053C2 #C24094 #C2AF40 #40C26E
square
#4053C2 #C24094 #C2AF40 #40C26E
split-complementary
#4053C2 #C26E40 #94C240
monochromatic
#212B67 #303E95 #4053C2 #6E7DD1 #9DA7E0

Accessibility & contrast

On white

6.49
#4053C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4053C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4053C2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4053C2#FFFFFF#000000##FFFFFF
##4053C21.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4053c2;
/* rgb */ color: rgb(64, 83, 194);
/* oklch */ color: oklch(49.3% 0.174 271.2);
Tailwind
colors: {
  custom: {
    50: '#8483d5',
    500: '#4053c2',
    950: '#000000',
  },
}
SCSS
$custom: #4053c2;
$custom-light: #8483d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4053c2",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 194
  },
  "hsl": {
    "h": 231.231,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49283,
    "c": 0.17394,
    "h": 271.2
  },
  "luminance": 0.11172
}

Semantic roles & 50–950 ramp

primary
#4053C2
secondary
#CCC392
accent
#C64DDB
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4053C2

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

Preview Lab → · Contrast checker → · Palette generator →

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