#4055AC#4055AC

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

Color values

HEX#4055AC
RGBrgb(64, 85, 172)
HSLhsl(228, 46%, 46%)
HSVhsv(228, 63%, 67%)
CMYKcmyk(62.8%, 50.6%, 0%, 32.5%)
CIE-LABlab(38.84, 19.97, -49.15)
CIE-LCHlch(38.84, 53.05, 292.11°)
OKLaboklab(48.02% 0.0004 -0.1408)
OKLCHoklch(48.02% 0.141 270.2)
XYZxyz(12.8067, 10.5645, 40.3860)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4055AC #AC9740
analogous
#408BAC #4055AC #6140AC
triadic
#4055AC #AC4055 #55AC40
tetradic
#4055AC #AC408B #AC9740 #40AC61
square
#4055AC #AC408B #AC9740 #40AC61
split-complementary
#4055AC #AC6140 #8BAC40
monochromatic
#1F2953 #2F3F7F #4055AC #6477C5 #919ED6

Accessibility & contrast

On white

6.75
#4055AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4055AC
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4055AC#FFFFFF#000000##FFFFFF
##4055AC1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2560AF
Deuteranopia (green-blind)
#0A57AA
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4055ac;
/* rgb */ color: rgb(64, 85, 172);
/* oklch */ color: oklch(48.0% 0.141 270.2);
Tailwind
colors: {
  custom: {
    50: '#7f84c5',
    500: '#4055ac',
    950: '#000000',
  },
}
SCSS
$custom: #4055ac;
$custom-light: #7f84c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4055ac",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 172
  },
  "hsl": {
    "h": 228.333,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48016,
    "c": 0.14077,
    "h": 270.2
  },
  "luminance": 0.10566
}

Semantic roles & 50–950 ramp

primary
#4055AC
secondary
#C1B687
accent
#BC52D5
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #4055AC

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

Preview Lab → · Contrast checker → · Palette generator →

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