#4055CF#4055CF

#4055CF is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.7% C 0.189 H 270.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#4055CF
RGBrgb(64, 85, 207)
HSLhsl(231, 60%, 53%)
HSVhsv(231, 69%, 81%)
CMYKcmyk(69.1%, 58.9%, 0%, 18.8%)
CIE-LABlab(41.36, 32.37, -65.51)
CIE-LCHlch(41.36, 73.07, 296.29°)
OKLaboklab(50.71% 0.0022 -0.1889)
OKLCHoklch(50.71% 0.189 270.7)
XYZxyz(16.6215, 12.0904, 60.4771)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4055CF #CFBA40
analogous
#409CCF #4055CF #7240CF
triadic
#4055CF #CF4055 #55CF40
tetradic
#4055CF #CF409C #CFBA40 #40CF72
square
#4055CF #CF409C #CFBA40 #40CF72
split-complementary
#4055CF #CF7240 #9CCF40
monochromatic
#1E2B77 #2A3DA8 #4055CF #7181DB #A2ACE8

Accessibility & contrast

On white

6.14
#4055CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4055CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4055CF
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4055CF#FFFFFF#000000##FFFFFF
##4055CF1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#005BCD
Tritanopia (blue-blind)
#00738A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4055cf;
/* rgb */ color: rgb(64, 85, 207);
/* oklch */ color: oklch(50.7% 0.189 270.7);
Tailwind
colors: {
  custom: {
    50: '#8684df',
    500: '#4055cf',
    950: '#000000',
  },
}
SCSS
$custom: #4055cf;
$custom-light: #8684df;
$custom-dark: #000000;
JSON
{
  "hex": "#4055cf",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 207
  },
  "hsl": {
    "h": 231.189,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50706,
    "c": 0.18888,
    "h": 270.7
  },
  "luminance": 0.12092
}

Semantic roles & 50–950 ramp

primary
#4055CF
secondary
#D4CB97
accent
#CC45E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #4055CF

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

Preview Lab → · Contrast checker → · Palette generator →

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