#4055AE#4055AE

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

Color values

HEX#4055AE
RGBrgb(64, 85, 174)
HSLhsl(229, 46%, 47%)
HSVhsv(229, 63%, 68%)
CMYKcmyk(63.2%, 51.1%, 0%, 31.8%)
CIE-LABlab(38.97, 20.67, -50.12)
CIE-LCHlch(38.97, 54.22, 292.42°)
OKLaboklab(48.16% 0.0006 -0.1436)
OKLCHoklch(48.16% 0.144 270.2)
XYZxyz(13.0003, 10.6419, 41.4052)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4055AE #AE9940
analogous
#408CAE #4055AE #6240AE
triadic
#4055AE #AE4055 #55AE40
tetradic
#4055AE #AE408C #AE9940 #40AE62
square
#4055AE #AE408C #AE9940 #40AE62
split-complementary
#4055AE #AE6240 #8CAE40
monochromatic
#1F2955 #303F81 #4055AE #6577C6 #929FD7

Accessibility & contrast

On white

6.71
#4055AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4055AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4055AE
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4055AE#FFFFFF#000000##FFFFFF
##4055AE1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2361B1
Deuteranopia (green-blind)
#0257AC
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4055ae;
/* rgb */ color: rgb(64, 85, 174);
/* oklch */ color: oklch(48.2% 0.144 270.2);
Tailwind
colors: {
  custom: {
    50: '#8084c7',
    500: '#4055ae',
    950: '#000000',
  },
}
SCSS
$custom: #4055ae;
$custom-light: #8084c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4055ae",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 174
  },
  "hsl": {
    "h": 228.545,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4816,
    "c": 0.14361,
    "h": 270.2
  },
  "luminance": 0.10643
}

Semantic roles & 50–950 ramp

primary
#4055AE
secondary
#C2B788
accent
#BD52D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4055AE

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

Preview Lab → · Contrast checker → · Palette generator →

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