#4155C6#4155C6

#4155C6 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.0% C 0.177 H 271.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#4155C6
RGBrgb(65, 85, 198)
HSLhsl(231, 54%, 52%)
HSVhsv(231, 67%, 78%)
CMYKcmyk(67.2%, 57.1%, 0%, 22.4%)
CIE-LABlab(40.73, 29.34, -61.33)
CIE-LCHlch(40.73, 67.98, 295.57°)
OKLaboklab(50.04% 0.0031 -0.1766)
OKLCHoklch(50.04% 0.177 271)
XYZxyz(15.6181, 11.6966, 54.8497)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4155C6 #C6B241
analogous
#4198C6 #4155C6 #7041C6
triadic
#4155C6 #C64155 #55C641
tetradic
#4155C6 #C64198 #C6B241 #41C670
square
#4155C6 #C64198 #C6B241 #41C670
split-complementary
#4155C6 #C67041 #98C641
monochromatic
#202C6C #2F3F9B #4155C6 #707FD4 #9FA9E2

Accessibility & contrast

On white

6.29
#4155C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#4155C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4155C6
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4155C6#FFFFFF#000000##FFFFFF
##4155C61.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CA
Deuteranopia (green-blind)
#005AC4
Tritanopia (blue-blind)
#007185
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4155c6;
/* rgb */ color: rgb(65, 85, 198);
/* oklch */ color: oklch(50.0% 0.177 271.0);
Tailwind
colors: {
  custom: {
    50: '#8584d8',
    500: '#4155c6',
    950: '#000000',
  },
}
SCSS
$custom: #4155c6;
$custom-light: #8584d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4155c6",
  "rgb": {
    "r": 65,
    "g": 85,
    "b": 198
  },
  "hsl": {
    "h": 230.977,
    "s": 53.846,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50037,
    "c": 0.17659,
    "h": 271
  },
  "luminance": 0.11698
}

Semantic roles & 50–950 ramp

primary
#4155C6
secondary
#CFC694
accent
#C74BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #4155C6

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

Preview Lab → · Contrast checker → · Palette generator →

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