#4055C9#4055C9

#4055C9 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.2% C 0.181 H 270.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#4055C9
RGBrgb(64, 85, 201)
HSLhsl(231, 56%, 52%)
HSVhsv(231, 68%, 79%)
CMYKcmyk(68.2%, 57.7%, 0%, 21.2%)
CIE-LABlab(40.90, 30.25, -62.79)
CIE-LCHlch(40.90, 69.70, 295.72°)
OKLaboklab(50.22% 0.0021 -0.1809)
OKLCHoklch(50.22% 0.181 270.7)
XYZxyz(15.9019, 11.8025, 56.6871)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4055C9 #C9B440
analogous
#409AC9 #4055C9 #7040C9
triadic
#4055C9 #C94055 #55C940
tetradic
#4055C9 #C9409A #C9B440 #40C970
square
#4055C9 #C9409A #C9B440 #40C970
split-complementary
#4055C9 #C97040 #9AC940
monochromatic
#1F2C6F #2D3E9F #4055C9 #707FD6 #9FAAE4

Accessibility & contrast

On white

6.25
#4055C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4055C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4055C9
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4055C9#FFFFFF#000000##FFFFFF
##4055C91.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CD
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4055c9;
/* rgb */ color: rgb(64, 85, 201);
/* oklch */ color: oklch(50.2% 0.181 270.7);
Tailwind
colors: {
  custom: {
    50: '#8584da',
    500: '#4055c9',
    950: '#000000',
  },
}
SCSS
$custom: #4055c9;
$custom-light: #8584da;
$custom-dark: #000000;
JSON
{
  "hex": "#4055c9",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 201
  },
  "hsl": {
    "h": 230.803,
    "s": 55.918,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50221,
    "c": 0.18089,
    "h": 270.7
  },
  "luminance": 0.11804
}

Semantic roles & 50–950 ramp

primary
#4055C9
secondary
#D0C794
accent
#C849DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #4055C9

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

Preview Lab → · Contrast checker → · Palette generator →

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