#4055C3#4055C3

#4055C3 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.7% C 0.173 H 270.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#4055C3
RGBrgb(64, 85, 195)
HSLhsl(230, 52%, 51%)
HSVhsv(230, 67%, 76%)
CMYKcmyk(67.2%, 56.4%, 0%, 23.5%)
CIE-LABlab(40.45, 28.13, -60.04)
CIE-LCHlch(40.45, 66.30, 295.10°)
OKLaboklab(49.75% 0.002 -0.1728)
OKLCHoklch(49.75% 0.173 270.6)
XYZxyz(15.2098, 11.5257, 53.0423)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4055C3 #C3AE40
analogous
#4096C3 #4055C3 #6C40C3
triadic
#4055C3 #C34055 #55C340
tetradic
#4055C3 #C34096 #C3AE40 #40C36C
square
#4055C3 #C34096 #C3AE40 #40C36C
split-complementary
#4055C3 #C36C40 #96C340
monochromatic
#212C68 #2F4097 #4055C3 #6F7ED2 #9DA8E0

Accessibility & contrast

On white

6.35
#4055C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4055C3
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4055C3#FFFFFF#000000##FFFFFF
##4055C31.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C7
Deuteranopia (green-blind)
#005AC1
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4055c3;
/* rgb */ color: rgb(64, 85, 195);
/* oklch */ color: oklch(49.7% 0.173 270.6);
Tailwind
colors: {
  custom: {
    50: '#8484d6',
    500: '#4055c3',
    950: '#000000',
  },
}
SCSS
$custom: #4055c3;
$custom-light: #8484d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4055c3",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 195
  },
  "hsl": {
    "h": 230.382,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49745,
    "c": 0.1728,
    "h": 270.6
  },
  "luminance": 0.11527
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4055C3

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

Preview Lab → · Contrast checker → · Palette generator →

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