#4155C0#4155C0

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

Color values

HEX#4155C0
RGBrgb(65, 85, 192)
HSLhsl(231, 50%, 50%)
HSVhsv(231, 66%, 75%)
CMYKcmyk(66.1%, 55.7%, 0%, 24.7%)
CIE-LABlab(40.29, 27.22, -58.56)
CIE-LCHlch(40.29, 64.57, 294.93°)
OKLaboklab(49.57% 0.0029 -0.1684)
OKLCHoklch(49.57% 0.168 271)
XYZxyz(14.9397, 11.4252, 51.2769)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4155C0 #C0AC41
analogous
#4195C0 #4155C0 #6C41C0
triadic
#4155C0 #C04155 #55C041
tetradic
#4155C0 #C04195 #C0AC41 #41C06C
square
#4155C0 #C04195 #C0AC41 #41C06C
split-complementary
#4155C0 #C06C41 #95C041
monochromatic
#222C65 #314093 #4155C0 #6F7ECF #9DA7DE

Accessibility & contrast

On white

6.39
#4155C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4155C0
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4155C0#FFFFFF#000000##FFFFFF
##4155C01.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#0059BE
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4155c0;
/* rgb */ color: rgb(65, 85, 192);
/* oklch */ color: oklch(49.6% 0.168 271.0);
Tailwind
colors: {
  custom: {
    50: '#8484d4',
    500: '#4155c0',
    950: '#000000',
  },
}
SCSS
$custom: #4155c0;
$custom-light: #8484d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4155c0",
  "rgb": {
    "r": 65,
    "g": 85,
    "b": 192
  },
  "hsl": {
    "h": 230.551,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49567,
    "c": 0.16843,
    "h": 271
  },
  "luminance": 0.11427
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4155C0

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

Preview Lab → · Contrast checker → · Palette generator →

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