#4055C8#4055C8

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

Color values

HEX#4055C8
RGBrgb(64, 85, 200)
HSLhsl(231, 55%, 52%)
HSVhsv(231, 68%, 78%)
CMYKcmyk(68%, 57.5%, 0%, 21.6%)
CIE-LABlab(40.83, 29.90, -62.33)
CIE-LCHlch(40.83, 69.13, 295.62°)
OKLaboklab(50.14% 0.0021 -0.1795)
OKLCHoklch(50.14% 0.18 270.7)
XYZxyz(15.7846, 11.7556, 56.0696)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4055C8 #C8B340
analogous
#4099C8 #4055C8 #6F40C8
triadic
#4055C8 #C84055 #55C840
tetradic
#4055C8 #C84099 #C8B340 #40C86F
square
#4055C8 #C84099 #C8B340 #40C86F
split-complementary
#4055C8 #C86F40 #99C840
monochromatic
#202C6E #2D3F9D #4055C8 #707FD6 #9FAAE3

Accessibility & contrast

On white

6.27
#4055C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4055C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4055C8
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4055C8#FFFFFF#000000##FFFFFF
##4055C81.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#005AC6
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4055c8;
/* rgb */ color: rgb(64, 85, 200);
/* oklch */ color: oklch(50.1% 0.180 270.7);
Tailwind
colors: {
  custom: {
    50: '#8584da',
    500: '#4055c8',
    950: '#000000',
  },
}
SCSS
$custom: #4055c8;
$custom-light: #8584da;
$custom-dark: #000000;
JSON
{
  "hex": "#4055c8",
  "rgb": {
    "r": 64,
    "g": 85,
    "b": 200
  },
  "hsl": {
    "h": 230.735,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50141,
    "c": 0.17955,
    "h": 270.7
  },
  "luminance": 0.11757
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4055C8

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

Preview Lab → · Contrast checker → · Palette generator →

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