#4055AB#4055AB

#4055AB is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.139 H 270.1°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#4055AB
RGBrgb(64, 85, 171)
HSLhsl(228, 46%, 46%)
HSVhsv(228, 63%, 67%)
CMYKcmyk(62.6%, 50.3%, 0%, 32.9%)
CIE-LABlab(38.77, 19.61, -48.67)
CIE-LCHlch(38.77, 52.47, 291.95°)
OKLaboklab(47.94% 0.0003 -0.1393)
OKLCHoklch(47.94% 0.139 270.1)
XYZxyz(12.7111, 10.5262, 39.8821)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4055AB #AB9640
analogous
#408AAB #4055AB #6040AB
triadic
#4055AB #AB4055 #55AB40
tetradic
#4055AB #AB408A #AB9640 #40AB60
square
#4055AB #AB408A #AB9640 #40AB60
split-complementary
#4055AB #AB6040 #8AAB40
monochromatic
#1F2952 #2F3F7E #4055AB #6377C5 #909ED5

Accessibility & contrast

On white

6.76
#4055AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4055AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4055AB
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4055AB#FFFFFF#000000##FFFFFF
##4055AB1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2760AE
Deuteranopia (green-blind)
#0D57A9
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4055ab;
/* rgb */ color: rgb(64, 85, 171);
/* oklch */ color: oklch(47.9% 0.139 270.1);
Tailwind
colors: {
  custom: {
    50: '#7f84c5',
    500: '#4055ab',
    950: '#000000',
  },
}
SCSS
$custom: #4055ab;
$custom-light: #7f84c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4055ab",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 171
  },
  "hsl": {
    "h": 228.224,
    "s": 45.532,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47944,
    "c": 0.13934,
    "h": 270.1
  },
  "luminance": 0.10527
}

Semantic roles & 50–950 ramp

primary
#4055AB
secondary
#C1B586
accent
#BC53D5
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4055AB

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

Preview Lab → · Contrast checker → · Palette generator →

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