#4053BB#4053BB

#4053BB is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.7% C 0.164 H 271.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#4053BB
RGBrgb(64, 83, 187)
HSLhsl(231, 49%, 49%)
HSVhsv(231, 66%, 73%)
CMYKcmyk(65.8%, 55.6%, 0%, 26.7%)
CIE-LABlab(39.35, 26.58, -57.16)
CIE-LCHlch(39.35, 63.03, 294.94°)
OKLaboklab(48.73% 0.0034 -0.1643)
OKLCHoklch(48.73% 0.164 271.2)
XYZxyz(14.1742, 10.8631, 48.3539)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4053BB #BBA840
analogous
#4091BB #4053BB #6B40BB
triadic
#4053BB #BB4053 #53BB40
tetradic
#4053BB #BB4091 #BBA840 #40BB6B
square
#4053BB #BB4091 #BBA840 #40BB6B
split-complementary
#4053BB #BB6B40 #91BB40
monochromatic
#212B60 #303F8D #4053BB #6C7BCD #99A4DC

Accessibility & contrast

On white

6.62
#4053BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4053BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4053BB
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4053BB#FFFFFF#000000##FFFFFF
##4053BB1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4053bb;
/* rgb */ color: rgb(64, 83, 187);
/* oklch */ color: oklch(48.7% 0.164 271.2);
Tailwind
colors: {
  custom: {
    50: '#8283d0',
    500: '#4053bb',
    950: '#000000',
  },
}
SCSS
$custom: #4053bb;
$custom-light: #8283d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4053bb",
  "rgb": {
    "r": 64,
    "g": 83,
    "b": 187
  },
  "hsl": {
    "h": 230.732,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48734,
    "c": 0.16439,
    "h": 271.2
  },
  "luminance": 0.10864
}

Semantic roles & 50–950 ramp

primary
#4053BB
secondary
#C8BF8F
accent
#C34FD9
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4053BB

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

Preview Lab → · Contrast checker → · Palette generator →

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