#4055DF#4055DF

#4055DF is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.0% C 0.210 H 270.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#4055DF
RGBrgb(64, 85, 223)
HSLhsl(232, 71%, 56%)
HSVhsv(232, 71%, 87%)
CMYKcmyk(71.3%, 61.9%, 0%, 12.5%)
CIE-LABlab(42.63, 37.97, -72.59)
CIE-LCHlch(42.63, 81.92, 297.61°)
OKLaboklab(52.04% 0.0019 -0.2097)
OKLCHoklch(52.04% 0.21 270.5)
XYZxyz(18.6776, 12.9128, 71.3058)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4055DF #DFCA40
analogous
#40A5DF #4055DF #7B40DF
triadic
#4055DF #DF4055 #55DF40
tetradic
#4055DF #DF40A5 #DFCA40 #40DF7B
square
#4055DF #DF40A5 #DFCA40 #40DF7B
split-complementary
#4055DF #DF7B40 #A5DF40
monochromatic
#18278D #2036C1 #4055DF #7484E8 #A9B2F1

Accessibility & contrast

On white

5.86
#4055DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#4055DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4055DF
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4055DF#FFFFFF#000000##FFFFFF
##4055DF1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE3
Deuteranopia (green-blind)
#005DDC
Tritanopia (blue-blind)
#007892
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4055df;
/* rgb */ color: rgb(64, 85, 223);
/* oklch */ color: oklch(52.0% 0.210 270.5);
Tailwind
colors: {
  custom: {
    50: '#8a85ea',
    500: '#4055df',
    950: '#000000',
  },
}
SCSS
$custom: #4055df;
$custom-light: #8a85ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4055df",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 223
  },
  "hsl": {
    "h": 232.075,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52044,
    "c": 0.20967,
    "h": 270.5
  },
  "luminance": 0.12915
}

Semantic roles & 50–950 ramp

primary
#4055DF
secondary
#DED59D
accent
#D63AEE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4055DF

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

Preview Lab → · Contrast checker → · Palette generator →

#4055DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva