#4155CE#4155CE

#4155CE is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.7% C 0.187 H 271.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#4155CE
RGBrgb(65, 85, 206)
HSLhsl(231, 59%, 53%)
HSVhsv(231, 68%, 81%)
CMYKcmyk(68.4%, 58.7%, 0%, 19.2%)
CIE-LABlab(41.34, 32.15, -64.97)
CIE-LCHlch(41.34, 72.49, 296.33°)
OKLaboklab(50.68% 0.0032 -0.1873)
OKLCHoklch(50.68% 0.187 271)
XYZxyz(16.5653, 12.0755, 59.8384)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4155CE #CEBA41
analogous
#419CCE #4155CE #7341CE
triadic
#4155CE #CE4155 #55CE41
tetradic
#4155CE #CE419C #CEBA41 #41CE73
square
#4155CE #CE419C #CEBA41 #41CE73
split-complementary
#4155CE #CE7341 #9CCE41
monochromatic
#1E2B76 #2B3DA7 #4155CE #7281DB #A2ACE7

Accessibility & contrast

On white

6.15
#4155CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#4155CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4155CE
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4155CE#FFFFFF#000000##FFFFFF
##4155CE1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4155ce;
/* rgb */ color: rgb(65, 85, 206);
/* oklch */ color: oklch(50.7% 0.187 271.0);
Tailwind
colors: {
  custom: {
    50: '#8684de',
    500: '#4155ce',
    950: '#000000',
  },
}
SCSS
$custom: #4155ce;
$custom-light: #8684de;
$custom-dark: #000000;
JSON
{
  "hex": "#4155ce",
  "rgb": {
    "r": 65,
    "g": 85,
    "b": 206
  },
  "hsl": {
    "h": 231.489,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50679,
    "c": 0.18729,
    "h": 271
  },
  "luminance": 0.12077
}

Semantic roles & 50–950 ramp

primary
#4155CE
secondary
#D4CB97
accent
#CC46E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83

Preview Lab

Preview with #4155CE

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

Preview Lab → · Contrast checker → · Palette generator →

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