#4155C1#4155C1

#4155C1 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.6% C 0.170 H 271.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#4155C1
RGBrgb(65, 85, 193)
HSLhsl(231, 51%, 51%)
HSVhsv(231, 66%, 76%)
CMYKcmyk(66.3%, 56%, 0%, 24.3%)
CIE-LABlab(40.36, 27.57, -59.02)
CIE-LCHlch(40.36, 65.14, 295.04°)
OKLaboklab(49.65% 0.0029 -0.1698)
OKLCHoklch(49.65% 0.17 271)
XYZxyz(15.0509, 11.4697, 51.8624)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4155C1 #C1AD41
analogous
#4195C1 #4155C1 #6D41C1
triadic
#4155C1 #C14155 #55C141
tetradic
#4155C1 #C14195 #C1AD41 #41C16D
square
#4155C1 #C14195 #C1AD41 #41C16D
split-complementary
#4155C1 #C16D41 #95C141
monochromatic
#212C66 #304094 #4155C1 #6F7ED0 #9DA8DF

Accessibility & contrast

On white

6.37
#4155C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4155C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4155C1
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4155C1#FFFFFF#000000##FFFFFF
##4155C11.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#005ABF
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4155c1;
/* rgb */ color: rgb(65, 85, 193);
/* oklch */ color: oklch(49.6% 0.170 271.0);
Tailwind
colors: {
  custom: {
    50: '#8484d4',
    500: '#4155c1',
    950: '#000000',
  },
}
SCSS
$custom: #4155c1;
$custom-light: #8484d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4155c1",
  "rgb": {
    "r": 65,
    "g": 85,
    "b": 193
  },
  "hsl": {
    "h": 230.625,
    "s": 50.794,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49645,
    "c": 0.16979,
    "h": 271
  },
  "luminance": 0.11471
}

Semantic roles & 50–950 ramp

primary
#4155C1
secondary
#CBC292
accent
#C44EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4155C1

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

Preview Lab → · Contrast checker → · Palette generator →

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