#4053CA#4053CA

#4053CA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.9% C 0.185 H 271.2°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#4053CA
RGBrgb(64, 83, 202)
HSLhsl(232, 57%, 52%)
HSVhsv(232, 68%, 79%)
CMYKcmyk(68.3%, 58.9%, 0%, 20.8%)
CIE-LABlab(40.47, 31.87, -64.06)
CIE-LCHlch(40.47, 71.55, 296.45°)
OKLaboklab(49.93% 0.0037 -0.1846)
OKLCHoklch(49.93% 0.185 271.2)
XYZxyz(15.8647, 11.5393, 57.2569)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4053CA #CAB740
analogous
#4098CA #4053CA #7240CA
triadic
#4053CA #CA4053 #53CA40
tetradic
#4053CA #CA4098 #CAB740 #40CA72
square
#4053CA #CA4098 #CAB740 #40CA72
split-complementary
#4053CA #CA7240 #98CA40
monochromatic
#1F2A70 #2C3CA0 #4053CA #707ED7 #A0A9E5

Accessibility & contrast

On white

6.35
#4053CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4053CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4053CA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4053CA#FFFFFF#000000##FFFFFF
##4053CA1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4053ca;
/* rgb */ color: rgb(64, 83, 202);
/* oklch */ color: oklch(49.9% 0.185 271.2);
Tailwind
colors: {
  custom: {
    50: '#8583db',
    500: '#4053ca',
    950: '#000000',
  },
}
SCSS
$custom: #4053ca;
$custom-light: #8583db;
$custom-dark: #000000;
JSON
{
  "hex": "#4053ca",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 202
  },
  "hsl": {
    "h": 231.739,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49927,
    "c": 0.18468,
    "h": 271.2
  },
  "luminance": 0.11541
}

Semantic roles & 50–950 ramp

primary
#4053CA
secondary
#D1C995
accent
#CB48E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #4053CA

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

Preview Lab → · Contrast checker → · Palette generator →

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