#4055D2#4055D2

#4055D2 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.0% C 0.193 H 270.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4055D2
RGBrgb(64, 85, 210)
HSLhsl(231, 62%, 54%)
HSVhsv(231, 70%, 82%)
CMYKcmyk(69.5%, 59.5%, 0%, 17.6%)
CIE-LABlab(41.59, 33.42, -66.85)
CIE-LCHlch(41.59, 74.74, 296.56°)
OKLaboklab(50.95% 0.0022 -0.1928)
OKLCHoklch(50.95% 0.193 270.6)
XYZxyz(16.9918, 12.2385, 62.4271)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4055D2 #D2BD40
analogous
#409ED2 #4055D2 #7440D2
triadic
#4055D2 #D24055 #55D240
tetradic
#4055D2 #D2409E #D2BD40 #40D274
square
#4055D2 #D2409E #D2BD40 #40D274
split-complementary
#4055D2 #D27440 #9ED240
monochromatic
#1D2A7B #293CAC #4055D2 #7281DE #A3ADE9

Accessibility & contrast

On white

6.09
#4055D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4055D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4055D2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4055D2#FFFFFF#000000##FFFFFF
##4055D21.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#005CD0
Tritanopia (blue-blind)
#00748B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4055d2;
/* rgb */ color: rgb(64, 85, 210);
/* oklch */ color: oklch(51.0% 0.193 270.6);
Tailwind
colors: {
  custom: {
    50: '#8784e1',
    500: '#4055d2',
    950: '#000000',
  },
}
SCSS
$custom: #4055d2;
$custom-light: #8784e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4055d2",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 210
  },
  "hsl": {
    "h": 231.37,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50952,
    "c": 0.19283,
    "h": 270.6
  },
  "luminance": 0.1224
}

Semantic roles & 50–950 ramp

primary
#4055D2
secondary
#D6CD98
accent
#CE43E5
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4055D2

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

Preview Lab → · Contrast checker → · Palette generator →

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