#4053A2#4053A2

#4053A2 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.9% C 0.129 H 270.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#4053A2
RGBrgb(64, 83, 162)
HSLhsl(228, 43%, 44%)
HSVhsv(228, 60%, 64%)
CMYKcmyk(60.5%, 48.8%, 0%, 36.5%)
CIE-LABlab(37.63, 17.74, -45.14)
CIE-LCHlch(37.63, 48.50, 291.45°)
OKLaboklab(46.89% 0.0013 -0.129)
OKLCHoklch(46.89% 0.129 270.6)
XYZxyz(11.7270, 9.8842, 35.4653)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4053A2 #A28F40
analogous
#4084A2 #4053A2 #5E40A2
triadic
#4053A2 #A24053 #53A240
tetradic
#4053A2 #A24084 #A28F40 #40A25E
square
#4053A2 #A24084 #A28F40 #40A25E
split-complementary
#4053A2 #A25E40 #84A240
monochromatic
#1D264A #2F3D76 #4053A2 #5F72C0 #8B99D1

Accessibility & contrast

On white

7.05
#4053A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4053A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4053A2
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4053A2#FFFFFF#000000##FFFFFF
##4053A21.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5DA5
Deuteranopia (green-blind)
#1B54A0
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4053a2;
/* rgb */ color: rgb(64, 83, 162);
/* oklch */ color: oklch(46.9% 0.129 270.6);
Tailwind
colors: {
  custom: {
    50: '#7e83be',
    500: '#4053a2',
    950: '#000000',
  },
}
SCSS
$custom: #4053a2;
$custom-light: #7e83be;
$custom-dark: #000000;
JSON
{
  "hex": "#4053a2",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 162
  },
  "hsl": {
    "h": 228.367,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46892,
    "c": 0.12899,
    "h": 270.6
  },
  "luminance": 0.09885
}

Semantic roles & 50–950 ramp

primary
#4053A2
secondary
#BCB182
accent
#BB55D3
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4053A2

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

Preview Lab → · Contrast checker → · Palette generator →

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