#4055BE#4055BE

#4055BE is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.4% C 0.166 H 270.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#4055BE
RGBrgb(64, 85, 190)
HSLhsl(230, 50%, 50%)
HSVhsv(230, 66%, 75%)
CMYKcmyk(66.3%, 55.3%, 0%, 25.5%)
CIE-LABlab(40.09, 26.35, -57.72)
CIE-LCHlch(40.09, 63.45, 294.54°)
OKLaboklab(49.36% 0.0018 -0.166)
OKLCHoklch(49.36% 0.166 270.6)
XYZxyz(14.6540, 11.3033, 50.1147)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4055BE #BEA940
analogous
#4094BE #4055BE #6A40BE
triadic
#4055BE #BE4055 #55BE40
tetradic
#4055BE #BE4094 #BEA940 #40BE6A
square
#4055BE #BE4094 #BEA940 #40BE6A
split-complementary
#4055BE #BE6A40 #94BE40
monochromatic
#212C62 #314190 #4055BE #6D7DCE #9BA6DD

Accessibility & contrast

On white

6.44
#4055BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4055BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4055BE
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4055BE#FFFFFF#000000##FFFFFF
##4055BE1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4055be;
/* rgb */ color: rgb(64, 85, 190);
/* oklch */ color: oklch(49.4% 0.166 270.6);
Tailwind
colors: {
  custom: {
    50: '#8384d2',
    500: '#4055be',
    950: '#000000',
  },
}
SCSS
$custom: #4055be;
$custom-light: #8384d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4055be",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 190
  },
  "hsl": {
    "h": 230,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49356,
    "c": 0.16598,
    "h": 270.6
  },
  "luminance": 0.11305
}

Semantic roles & 50–950 ramp

primary
#4055BE
secondary
#C9C090
accent
#C24FD9
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4055BE

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

Preview Lab → · Contrast checker → · Palette generator →

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