#4155C8#4155C8

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

Color values

HEX#4155C8
RGBrgb(65, 85, 200)
HSLhsl(231, 55%, 52%)
HSVhsv(231, 68%, 78%)
CMYKcmyk(67.5%, 57.5%, 0%, 21.6%)
CIE-LABlab(40.88, 30.04, -62.24)
CIE-LCHlch(40.88, 69.11, 295.77°)
OKLaboklab(50.2% 0.0031 -0.1792)
OKLCHoklch(50.2% 0.179 271)
XYZxyz(15.8503, 11.7895, 56.0727)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4155C8 #C8B441
analogous
#4199C8 #4155C8 #7141C8
triadic
#4155C8 #C84155 #55C841
tetradic
#4155C8 #C84199 #C8B441 #41C871
square
#4155C8 #C84199 #C8B441 #41C871
split-complementary
#4155C8 #C87141 #99C841
monochromatic
#202C6F #2E3E9E #4155C8 #707FD6 #A0AAE3

Accessibility & contrast

On white

6.25
#4155C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4155C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4155C8
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4155C8#FFFFFF#000000##FFFFFF
##4155C81.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)
#0067CC
Deuteranopia (green-blind)
#005AC6
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4155c8;
/* rgb */ color: rgb(65, 85, 200);
/* oklch */ color: oklch(50.2% 0.179 271.0);
Tailwind
colors: {
  custom: {
    50: '#8584da',
    500: '#4155c8',
    950: '#000000',
  },
}
SCSS
$custom: #4155c8;
$custom-light: #8584da;
$custom-dark: #000000;
JSON
{
  "hex": "#4155c8",
  "rgb": {
    "r": 65,
    "g": 85,
    "b": 200
  },
  "hsl": {
    "h": 231.111,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50196,
    "c": 0.17928,
    "h": 271
  },
  "luminance": 0.11791
}

Semantic roles & 50–950 ramp

primary
#4155C8
secondary
#D0C795
accent
#C849DE
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #4155C8

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

Preview Lab → · Contrast checker → · Palette generator →

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