#4053CB#4053CB

#4053CB is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.0% C 0.186 H 271.1°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#4053CB
RGBrgb(64, 83, 203)
HSLhsl(232, 57%, 52%)
HSVhsv(232, 68%, 80%)
CMYKcmyk(68.5%, 59.1%, 0%, 20.4%)
CIE-LABlab(40.55, 32.22, -64.51)
CIE-LCHlch(40.55, 72.11, 296.54°)
OKLaboklab(50.01% 0.0037 -0.186)
OKLCHoklch(50.01% 0.186 271.1)
XYZxyz(15.9835, 11.5868, 57.8825)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4053CB #CBB840
analogous
#4098CB #4053CB #7340CB
triadic
#4053CB #CB4053 #53CB40
tetradic
#4053CB #CB4098 #CBB840 #40CB73
square
#4053CB #CB4098 #CBB840 #40CB73
split-complementary
#4053CB #CB7340 #98CB40
monochromatic
#1F2A72 #2C3CA2 #4053CB #707ED8 #A0AAE5

Accessibility & contrast

On white

6.33
#4053CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4053CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4053CB
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4053CB#FFFFFF#000000##FFFFFF
##4053CB1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4053cb;
/* rgb */ color: rgb(64, 83, 203);
/* oklch */ color: oklch(50.0% 0.186 271.1);
Tailwind
colors: {
  custom: {
    50: '#8683dc',
    500: '#4053cb',
    950: '#000000',
  },
}
SCSS
$custom: #4053cb;
$custom-light: #8683dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4053cb",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 203
  },
  "hsl": {
    "h": 231.799,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50009,
    "c": 0.18601,
    "h": 271.1
  },
  "luminance": 0.11588
}

Semantic roles & 50–950 ramp

primary
#4053CB
secondary
#D2C995
accent
#CC47E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #4053CB

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

Preview Lab → · Contrast checker → · Palette generator →

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