#4053CC#4053CC

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

Color values

HEX#4053CC
RGBrgb(64, 83, 204)
HSLhsl(232, 58%, 53%)
HSVhsv(232, 69%, 80%)
CMYKcmyk(68.6%, 59.3%, 0%, 20%)
CIE-LABlab(40.63, 32.58, -64.96)
CIE-LCHlch(40.63, 72.67, 296.63°)
OKLaboklab(50.09% 0.0037 -0.1873)
OKLCHoklch(50.09% 0.187 271.1)
XYZxyz(16.1030, 11.6346, 58.5121)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4053CC #CCB940
analogous
#4099CC #4053CC #7340CC
triadic
#4053CC #CC4053 #53CC40
tetradic
#4053CC #CC4099 #CCB940 #40CC73
square
#4053CC #CC4099 #CCB940 #40CC73
split-complementary
#4053CC #CC7340 #99CC40
monochromatic
#1F2A73 #2C3CA3 #4053CC #707ED9 #A1AAE6

Accessibility & contrast

On white

6.31
#4053CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4053CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4053CC
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4053CC#FFFFFF#000000##FFFFFF
##4053CC1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4053cc;
/* rgb */ color: rgb(64, 83, 204);
/* oklch */ color: oklch(50.1% 0.187 271.1);
Tailwind
colors: {
  custom: {
    50: '#8683dc',
    500: '#4053cc',
    950: '#000000',
  },
}
SCSS
$custom: #4053cc;
$custom-light: #8683dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4053cc",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 204
  },
  "hsl": {
    "h": 231.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50091,
    "c": 0.18734,
    "h": 271.1
  },
  "luminance": 0.11636
}

Semantic roles & 50–950 ramp

primary
#4053CC
secondary
#D2CA95
accent
#CC47E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #4053CC

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

Preview Lab → · Contrast checker → · Palette generator →

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