#4053B2#4053B2

#4053B2 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.0% C 0.152 H 271.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4053B2
RGBrgb(64, 83, 178)
HSLhsl(230, 47%, 47%)
HSVhsv(230, 64%, 70%)
CMYKcmyk(64%, 53.4%, 0%, 30.2%)
CIE-LABlab(38.71, 23.39, -52.91)
CIE-LCHlch(38.71, 57.85, 293.85°)
OKLaboklab(48.05% 0.0029 -0.1518)
OKLCHoklch(48.05% 0.152 271.1)
XYZxyz(13.2408, 10.4897, 43.4378)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4053B2 #B29F40
analogous
#408CB2 #4053B2 #6640B2
triadic
#4053B2 #B24053 #53B240
tetradic
#4053B2 #B2408C #B29F40 #40B266
square
#4053B2 #B2408C #B29F40 #40B266
split-complementary
#4053B2 #B26640 #8CB240
monochromatic
#202958 #303E85 #4053B2 #6777C8 #949FD8

Accessibility & contrast

On white

6.78
#4053B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4053B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4053B2
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4053B2#FFFFFF#000000##FFFFFF
##4053B21.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1560B5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4053b2;
/* rgb */ color: rgb(64, 83, 178);
/* oklch */ color: oklch(48.0% 0.152 271.1);
Tailwind
colors: {
  custom: {
    50: '#8183ca',
    500: '#4053b2',
    950: '#000000',
  },
}
SCSS
$custom: #4053b2;
$custom-light: #8183ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4053b2",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 178
  },
  "hsl": {
    "h": 230,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48048,
    "c": 0.15187,
    "h": 271.1
  },
  "luminance": 0.10491
}

Semantic roles & 50–950 ramp

primary
#4053B2
secondary
#C4BA8A
accent
#C051D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4053B2

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

Preview Lab → · Contrast checker → · Palette generator →

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