#4155C2#4155C2

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

Color values

HEX#4155C2
RGBrgb(65, 85, 194)
HSLhsl(231, 51%, 51%)
HSVhsv(231, 66%, 76%)
CMYKcmyk(66.5%, 56.2%, 0%, 23.9%)
CIE-LABlab(40.43, 27.93, -59.48)
CIE-LCHlch(40.43, 65.71, 295.15°)
OKLaboklab(49.72% 0.0029 -0.1711)
OKLCHoklch(49.72% 0.171 271)
XYZxyz(15.1628, 11.5145, 52.4519)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4155C2 #C2AE41
analogous
#4195C2 #4155C2 #6D41C2
triadic
#4155C2 #C24155 #55C241
tetradic
#4155C2 #C24195 #C2AE41 #41C26D
square
#4155C2 #C24195 #C2AE41 #41C26D
split-complementary
#4155C2 #C26D41 #95C241
monochromatic
#212C67 #304096 #4155C2 #6F7ED1 #9EA8E0

Accessibility & contrast

On white

6.36
#4155C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4155C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4155C2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4155C2#FFFFFF#000000##FFFFFF
##4155C21.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4155c2;
/* rgb */ color: rgb(65, 85, 194);
/* oklch */ color: oklch(49.7% 0.171 271.0);
Tailwind
colors: {
  custom: {
    50: '#8484d5',
    500: '#4155c2',
    950: '#000000',
  },
}
SCSS
$custom: #4155c2;
$custom-light: #8484d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4155c2",
  "rgb": {
    "r": 65,
    "g": 85,
    "b": 194
  },
  "hsl": {
    "h": 230.698,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49723,
    "c": 0.17117,
    "h": 271
  },
  "luminance": 0.11516
}

Semantic roles & 50–950 ramp

primary
#4155C2
secondary
#CCC393
accent
#C54DDB
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4155C2

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

Preview Lab → · Contrast checker → · Palette generator →

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