#4053C8#4053C8

#4053C8 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.8% C 0.182 H 271.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#4053C8
RGBrgb(64, 83, 200)
HSLhsl(232, 55%, 52%)
HSVhsv(232, 68%, 78%)
CMYKcmyk(68%, 58.5%, 0%, 21.6%)
CIE-LABlab(40.32, 31.17, -63.15)
CIE-LCHlch(40.32, 70.43, 296.27°)
OKLaboklab(49.77% 0.0037 -0.182)
OKLCHoklch(49.77% 0.182 271.2)
XYZxyz(15.6294, 11.4451, 56.0178)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4053C8 #C8B540
analogous
#4097C8 #4053C8 #7140C8
triadic
#4053C8 #C84053 #53C840
tetradic
#4053C8 #C84097 #C8B540 #40C871
square
#4053C8 #C84097 #C8B540 #40C871
split-complementary
#4053C8 #C87140 #97C840
monochromatic
#202B6E #2D3D9D #4053C8 #707ED6 #9FA9E3

Accessibility & contrast

On white

6.38
#4053C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4053C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4053C8
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4053C8#FFFFFF#000000##FFFFFF
##4053C81.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#0059C6
Tritanopia (blue-blind)
#007085
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4053c8;
/* rgb */ color: rgb(64, 83, 200);
/* oklch */ color: oklch(49.8% 0.182 271.2);
Tailwind
colors: {
  custom: {
    50: '#8583da',
    500: '#4053c8',
    950: '#000000',
  },
}
SCSS
$custom: #4053c8;
$custom-light: #8583da;
$custom-dark: #000000;
JSON
{
  "hex": "#4053c8",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 200
  },
  "hsl": {
    "h": 231.618,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.49765,
    "c": 0.18202,
    "h": 271.2
  },
  "luminance": 0.11447
}

Semantic roles & 50–950 ramp

primary
#4053C8
secondary
#D0C794
accent
#CA49DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #4053C8

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

Preview Lab → · Contrast checker → · Palette generator →

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