#4055CE#4055CE

#4055CE is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.6% C 0.188 H 270.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#4055CE
RGBrgb(64, 85, 206)
HSLhsl(231, 59%, 53%)
HSVhsv(231, 69%, 81%)
CMYKcmyk(68.9%, 58.7%, 0%, 19.2%)
CIE-LABlab(41.28, 32.02, -65.06)
CIE-LCHlch(41.28, 72.51, 296.20°)
OKLaboklab(50.63% 0.0022 -0.1875)
OKLCHoklch(50.63% 0.188 270.7)
XYZxyz(16.4996, 12.0416, 59.8353)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4055CE #CEB940
analogous
#409CCE #4055CE #7240CE
triadic
#4055CE #CE4055 #55CE40
tetradic
#4055CE #CE409C #CEB940 #40CE72
square
#4055CE #CE409C #CEB940 #40CE72
split-complementary
#4055CE #CE7240 #9CCE40
monochromatic
#1E2B75 #2B3DA6 #4055CE #7180DA #A1ACE7

Accessibility & contrast

On white

6.16
#4055CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#4055CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4055CE
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4055CE#FFFFFF#000000##FFFFFF
##4055CE1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4055ce;
/* rgb */ color: rgb(64, 85, 206);
/* oklch */ color: oklch(50.6% 0.188 270.7);
Tailwind
colors: {
  custom: {
    50: '#8684de',
    500: '#4055ce',
    950: '#000000',
  },
}
SCSS
$custom: #4055ce;
$custom-light: #8684de;
$custom-dark: #000000;
JSON
{
  "hex": "#4055ce",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 206
  },
  "hsl": {
    "h": 231.127,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50625,
    "c": 0.18755,
    "h": 270.7
  },
  "luminance": 0.12043
}

Semantic roles & 50–950 ramp

primary
#4055CE
secondary
#D4CB96
accent
#CB45E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #4055CE

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

Preview Lab → · Contrast checker → · Palette generator →

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