#4053CF#4053CF

#4053CF is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.3% C 0.191 H 271.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#4053CF
RGBrgb(64, 83, 207)
HSLhsl(232, 60%, 53%)
HSVhsv(232, 69%, 81%)
CMYKcmyk(69.1%, 59.9%, 0%, 18.8%)
CIE-LABlab(40.86, 33.63, -66.31)
CIE-LCHlch(40.86, 74.35, 296.89°)
OKLaboklab(50.34% 0.0037 -0.1913)
OKLCHoklch(50.34% 0.191 271.1)
XYZxyz(16.4663, 11.7799, 60.4254)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4053CF #CFBC40
analogous
#409ACF #4053CF #7440CF
triadic
#4053CF #CF4053 #53CF40
tetradic
#4053CF #CF409A #CFBC40 #40CF74
square
#4053CF #CF409A #CFBC40 #40CF74
split-complementary
#4053CF #CF7440 #9ACF40
monochromatic
#1E2A77 #2A3BA8 #4053CF #717FDB #A2ABE8

Accessibility & contrast

On white

6.26
#4053CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4053CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4053CF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4053CF#FFFFFF#000000##FFFFFF
##4053CF1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#005ACD
Tritanopia (blue-blind)
#007289
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4053cf;
/* rgb */ color: rgb(64, 83, 207);
/* oklch */ color: oklch(50.3% 0.191 271.1);
Tailwind
colors: {
  custom: {
    50: '#8683df',
    500: '#4053cf',
    950: '#000000',
  },
}
SCSS
$custom: #4053cf;
$custom-light: #8683df;
$custom-dark: #000000;
JSON
{
  "hex": "#4053cf",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 207
  },
  "hsl": {
    "h": 232.028,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50339,
    "c": 0.1913,
    "h": 271.1
  },
  "luminance": 0.11781
}

Semantic roles & 50–950 ramp

primary
#4053CF
secondary
#D4CC97
accent
#CE45E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0A15
muted
#7D7C83

Preview Lab

Preview with #4053CF

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

Preview Lab → · Contrast checker → · Palette generator →

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