#4055BF#4055BF

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

Color values

HEX#4055BF
RGBrgb(64, 85, 191)
HSLhsl(230, 50%, 50%)
HSVhsv(230, 66%, 75%)
CMYKcmyk(66.5%, 55.5%, 0%, 25.1%)
CIE-LABlab(40.16, 26.71, -58.18)
CIE-LCHlch(40.16, 64.02, 294.66°)
OKLaboklab(49.43% 0.0018 -0.1673)
OKLCHoklch(49.43% 0.167 270.6)
XYZxyz(14.7636, 11.3472, 50.6923)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4055BF #BFAA40
analogous
#4094BF #4055BF #6B40BF
triadic
#4055BF #BF4055 #55BF40
tetradic
#4055BF #BF4094 #BFAA40 #40BF6B
square
#4055BF #BF4094 #BFAA40 #40BF6B
split-complementary
#4055BF #BF6B40 #94BF40
monochromatic
#212C63 #314191 #4055BF #6E7ECE #9CA7DE

Accessibility & contrast

On white

6.42
#4055BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4055BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4055BF
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4055BF#FFFFFF#000000##FFFFFF
##4055BF1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4055bf;
/* rgb */ color: rgb(64, 85, 191);
/* oklch */ color: oklch(49.4% 0.167 270.6);
Tailwind
colors: {
  custom: {
    50: '#8384d3',
    500: '#4055bf',
    950: '#000000',
  },
}
SCSS
$custom: #4055bf;
$custom-light: #8384d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4055bf",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 191
  },
  "hsl": {
    "h": 230.079,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.49433,
    "c": 0.16735,
    "h": 270.6
  },
  "luminance": 0.11349
}

Semantic roles & 50–950 ramp

primary
#4055BF
secondary
#CAC091
accent
#C24ED9
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4055BF

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

Preview Lab → · Contrast checker → · Palette generator →

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