#4055D0#4055D0

#4055D0 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.8% C 0.190 H 270.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#4055D0
RGBrgb(64, 85, 208)
HSLhsl(231, 61%, 53%)
HSVhsv(231, 69%, 82%)
CMYKcmyk(69.2%, 59.1%, 0%, 18.4%)
CIE-LABlab(41.44, 32.72, -65.96)
CIE-LCHlch(41.44, 73.63, 296.39°)
OKLaboklab(50.79% 0.0022 -0.1902)
OKLCHoklch(50.79% 0.19 270.7)
XYZxyz(16.7441, 12.1394, 61.1230)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4055D0 #D0BB40
analogous
#409DD0 #4055D0 #7340D0
triadic
#4055D0 #D04055 #55D040
tetradic
#4055D0 #D0409D #D0BB40 #40D073
square
#4055D0 #D0409D #D0BB40 #40D073
split-complementary
#4055D0 #D07340 #9DD040
monochromatic
#1E2B78 #2A3CA9 #4055D0 #7181DC #A2ACE8

Accessibility & contrast

On white

6.13
#4055D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4055D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4055D0
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4055D0#FFFFFF#000000##FFFFFF
##4055D01.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D4
Deuteranopia (green-blind)
#005BCE
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4055d0;
/* rgb */ color: rgb(64, 85, 208);
/* oklch */ color: oklch(50.8% 0.190 270.7);
Tailwind
colors: {
  custom: {
    50: '#8684df',
    500: '#4055d0',
    950: '#000000',
  },
}
SCSS
$custom: #4055d0;
$custom-light: #8684df;
$custom-dark: #000000;
JSON
{
  "hex": "#4055d0",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 208
  },
  "hsl": {
    "h": 231.25,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50788,
    "c": 0.1902,
    "h": 270.7
  },
  "luminance": 0.12141
}

Semantic roles & 50–950 ramp

primary
#4055D0
secondary
#D5CC97
accent
#CC44E4
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4055D0

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

Preview Lab → · Contrast checker → · Palette generator →

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