#4055D8#4055D8

#4055D8 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.5% C 0.201 H 270.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#4055D8
RGBrgb(64, 85, 216)
HSLhsl(232, 66%, 55%)
HSVhsv(232, 70%, 85%)
CMYKcmyk(70.4%, 60.6%, 0%, 15.3%)
CIE-LABlab(42.07, 35.53, -69.52)
CIE-LCHlch(42.07, 78.07, 297.07°)
OKLaboklab(51.45% 0.0021 -0.2006)
OKLCHoklch(51.45% 0.201 270.6)
XYZxyz(17.7533, 12.5431, 66.4379)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4055D8 #D8C340
analogous
#40A1D8 #4055D8 #7740D8
triadic
#4055D8 #D84055 #55D840
tetradic
#4055D8 #D840A1 #D8C340 #40D877
square
#4055D8 #D840A1 #D8C340 #40D877
split-complementary
#4055D8 #D87740 #A1D840
monochromatic
#1B2983 #2539B6 #4055D8 #7382E2 #A6AFED

Accessibility & contrast

On white

5.98
#4055D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4055D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4055D8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4055D8#FFFFFF#000000##FFFFFF
##4055D81.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#005CD5
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4055d8;
/* rgb */ color: rgb(64, 85, 216);
/* oklch */ color: oklch(51.5% 0.201 270.6);
Tailwind
colors: {
  custom: {
    50: '#8884e5',
    500: '#4055d8',
    950: '#000000',
  },
}
SCSS
$custom: #4055d8;
$custom-light: #8884e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4055d8",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 216
  },
  "hsl": {
    "h": 231.711,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51451,
    "c": 0.20066,
    "h": 270.6
  },
  "luminance": 0.12545
}

Semantic roles & 50–950 ramp

primary
#4055D8
secondary
#DAD19A
accent
#D23FE9
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4055D8

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

Preview Lab → · Contrast checker → · Palette generator →

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