#4155C4#4155C4

#4155C4 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.9% C 0.174 H 271.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#4155C4
RGBrgb(65, 85, 196)
HSLhsl(231, 53%, 51%)
HSVhsv(231, 67%, 77%)
CMYKcmyk(66.8%, 56.6%, 0%, 23.1%)
CIE-LABlab(40.58, 28.63, -60.41)
CIE-LCHlch(40.58, 66.85, 295.36°)
OKLaboklab(49.88% 0.003 -0.1738)
OKLCHoklch(49.88% 0.174 271)
XYZxyz(15.3889, 11.6049, 53.6428)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4155C4 #C4B041
analogous
#4196C4 #4155C4 #6E41C4
triadic
#4155C4 #C44155 #55C441
tetradic
#4155C4 #C44196 #C4B041 #41C46E
square
#4155C4 #C44196 #C4B041 #41C46E
split-complementary
#4155C4 #C46E41 #96C441
monochromatic
#212C6A #2F3F98 #4155C4 #707FD3 #9EA9E1

Accessibility & contrast

On white

6.32
#4155C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#4155C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4155C4
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4155C4#FFFFFF#000000##FFFFFF
##4155C41.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4155c4;
/* rgb */ color: rgb(65, 85, 196);
/* oklch */ color: oklch(49.9% 0.174 271.0);
Tailwind
colors: {
  custom: {
    50: '#8484d7',
    500: '#4155c4',
    950: '#000000',
  },
}
SCSS
$custom: #4155c4;
$custom-light: #8484d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4155c4",
  "rgb": {
    "r": 65,
    "g": 85,
    "b": 196
  },
  "hsl": {
    "h": 230.84,
    "s": 52.61,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49879,
    "c": 0.17388,
    "h": 271
  },
  "luminance": 0.11606
}

Semantic roles & 50–950 ramp

primary
#4155C4
secondary
#CDC593
accent
#C64CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4155C4

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

Preview Lab → · Contrast checker → · Palette generator →

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