#4055C4#4055C4

#4055C4 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.8% C 0.174 H 270.7°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#4055C4
RGBrgb(64, 85, 196)
HSLhsl(230, 53%, 51%)
HSVhsv(230, 67%, 77%)
CMYKcmyk(67.3%, 56.6%, 0%, 23.1%)
CIE-LABlab(40.53, 28.48, -60.50)
CIE-LCHlch(40.53, 66.87, 295.21°)
OKLaboklab(49.82% 0.002 -0.1741)
OKLCHoklch(49.82% 0.174 270.7)
XYZxyz(15.3233, 11.5711, 53.6398)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4055C4 #C4AF40
analogous
#4097C4 #4055C4 #6D40C4
triadic
#4055C4 #C44055 #55C440
tetradic
#4055C4 #C44097 #C4AF40 #40C46D
square
#4055C4 #C44097 #C4AF40 #40C46D
split-complementary
#4055C4 #C46D40 #97C440
monochromatic
#202C69 #2F4098 #4055C4 #6F7FD2 #9EA8E1

Accessibility & contrast

On white

6.34
#4055C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4055C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4055C4
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4055C4#FFFFFF#000000##FFFFFF
##4055C41.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4055c4;
/* rgb */ color: rgb(64, 85, 196);
/* oklch */ color: oklch(49.8% 0.174 270.7);
Tailwind
colors: {
  custom: {
    50: '#8484d7',
    500: '#4055c4',
    950: '#000000',
  },
}
SCSS
$custom: #4055c4;
$custom-light: #8484d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4055c4",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 196
  },
  "hsl": {
    "h": 230.455,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.49823,
    "c": 0.17416,
    "h": 270.7
  },
  "luminance": 0.11573
}

Semantic roles & 50–950 ramp

primary
#4055C4
secondary
#CDC493
accent
#C54CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4055C4

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

Preview Lab → · Contrast checker → · Palette generator →

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