#4055C0#4055C0

#4055C0 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.5% C 0.169 H 270.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#4055C0
RGBrgb(64, 85, 192)
HSLhsl(230, 50%, 50%)
HSVhsv(230, 67%, 75%)
CMYKcmyk(66.7%, 55.7%, 0%, 24.7%)
CIE-LABlab(40.23, 27.06, -58.65)
CIE-LCHlch(40.23, 64.59, 294.77°)
OKLaboklab(49.51% 0.0018 -0.1687)
OKLCHoklch(49.51% 0.169 270.6)
XYZxyz(14.8741, 11.3914, 51.2739)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4055C0 #C0AB40
analogous
#4095C0 #4055C0 #6B40C0
triadic
#4055C0 #C04055 #55C040
tetradic
#4055C0 #C04095 #C0AB40 #40C06B
square
#4055C0 #C04095 #C0AB40 #40C06B
split-complementary
#4055C0 #C06B40 #95C040
monochromatic
#212C64 #304092 #4055C0 #6E7ECF #9CA7DE

Accessibility & contrast

On white

6.41
#4055C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4055C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4055C0
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4055C0#FFFFFF#000000##FFFFFF
##4055C01.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#0059BE
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4055c0;
/* rgb */ color: rgb(64, 85, 192);
/* oklch */ color: oklch(49.5% 0.169 270.6);
Tailwind
colors: {
  custom: {
    50: '#8384d4',
    500: '#4055c0',
    950: '#000000',
  },
}
SCSS
$custom: #4055c0;
$custom-light: #8384d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4055c0",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 192
  },
  "hsl": {
    "h": 230.156,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.4951,
    "c": 0.16871,
    "h": 270.6
  },
  "luminance": 0.11393
}

Semantic roles & 50–950 ramp

primary
#4055C0
secondary
#CBC191
accent
#C34EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #4055C0

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

Preview Lab → · Contrast checker → · Palette generator →

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