#4155C9#4155C9

#4155C9 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.3% C 0.181 H 271.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#4155C9
RGBrgb(65, 85, 201)
HSLhsl(231, 56%, 52%)
HSVhsv(231, 68%, 79%)
CMYKcmyk(67.7%, 57.7%, 0%, 21.2%)
CIE-LABlab(40.95, 30.39, -62.70)
CIE-LCHlch(40.95, 69.68, 295.86°)
OKLaboklab(50.28% 0.0031 -0.1806)
OKLCHoklch(50.28% 0.181 271)
XYZxyz(15.9675, 11.8364, 56.6902)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4155C9 #C9B541
analogous
#4199C9 #4155C9 #7141C9
triadic
#4155C9 #C94155 #55C941
tetradic
#4155C9 #C94199 #C9B541 #41C971
square
#4155C9 #C94199 #C9B541 #41C971
split-complementary
#4155C9 #C97141 #99C941
monochromatic
#202C70 #2D3E9F #4155C9 #7180D7 #A0AAE4

Accessibility & contrast

On white

6.24
#4155C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4155C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4155C9
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4155C9#FFFFFF#000000##FFFFFF
##4155C91.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CD
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4155c9;
/* rgb */ color: rgb(65, 85, 201);
/* oklch */ color: oklch(50.3% 0.181 271.0);
Tailwind
colors: {
  custom: {
    50: '#8584da',
    500: '#4155c9',
    950: '#000000',
  },
}
SCSS
$custom: #4155c9;
$custom-light: #8584da;
$custom-dark: #000000;
JSON
{
  "hex": "#4155c9",
  "rgb": {
    "r": 65,
    "g": 85,
    "b": 201
  },
  "hsl": {
    "h": 231.176,
    "s": 55.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50276,
    "c": 0.18062,
    "h": 271
  },
  "luminance": 0.11838
}

Semantic roles & 50–950 ramp

primary
#4155C9
secondary
#D1C895
accent
#C949DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #4155C9

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

Preview Lab → · Contrast checker → · Palette generator →

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