#4055AD#4055AD

#4055AD is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.1% C 0.142 H 270.2°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#4055AD
RGBrgb(64, 85, 173)
HSLhsl(228, 46%, 46%)
HSVhsv(228, 63%, 68%)
CMYKcmyk(63%, 50.9%, 0%, 32.2%)
CIE-LABlab(38.90, 20.32, -49.64)
CIE-LCHlch(38.90, 53.64, 292.26°)
OKLaboklab(48.09% 0.0005 -0.1422)
OKLCHoklch(48.09% 0.142 270.2)
XYZxyz(12.9031, 10.6030, 40.8937)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4055AD #AD9840
analogous
#408CAD #4055AD #6140AD
triadic
#4055AD #AD4055 #55AD40
tetradic
#4055AD #AD408C #AD9840 #40AD61
square
#4055AD #AD408C #AD9840 #40AD61
split-complementary
#4055AD #AD6140 #8CAD40
monochromatic
#1F2954 #2F3F80 #4055AD #6477C6 #919ED6

Accessibility & contrast

On white

6.73
#4055AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4055AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4055AD
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4055AD#FFFFFF#000000##FFFFFF
##4055AD1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2461B0
Deuteranopia (green-blind)
#0657AB
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4055ad;
/* rgb */ color: rgb(64, 85, 173);
/* oklch */ color: oklch(48.1% 0.142 270.2);
Tailwind
colors: {
  custom: {
    50: '#8084c6',
    500: '#4055ad',
    950: '#000000',
  },
}
SCSS
$custom: #4055ad;
$custom-light: #8084c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4055ad",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 173
  },
  "hsl": {
    "h": 228.44,
    "s": 45.992,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48087,
    "c": 0.14219,
    "h": 270.2
  },
  "luminance": 0.10604
}

Semantic roles & 50–950 ramp

primary
#4055AD
secondary
#C2B687
accent
#BC52D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4055AD

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

Preview Lab → · Contrast checker → · Palette generator →

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