#4154CE#4154CE

#4154CE is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.5% C 0.189 H 271.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4154CE
RGBrgb(65, 84, 206)
HSLhsl(232, 59%, 53%)
HSVhsv(232, 68%, 81%)
CMYKcmyk(68.4%, 59.2%, 0%, 19.2%)
CIE-LABlab(41.09, 32.79, -65.37)
CIE-LCHlch(41.09, 73.13, 296.63°)
OKLaboklab(50.49% 0.004 -0.1885)
OKLCHoklch(50.49% 0.189 271.2)
XYZxyz(16.4871, 11.9191, 59.8123)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4154CE #CEBB41
analogous
#419ACE #4154CE #7441CE
triadic
#4154CE #CE4154 #54CE41
tetradic
#4154CE #CE419A #CEBB41 #41CE74
square
#4154CE #CE419A #CEBB41 #41CE74
split-complementary
#4154CE #CE7441 #9ACE41
monochromatic
#1E2A76 #2B3CA7 #4154CE #7280DB #A2ACE7

Accessibility & contrast

On white

6.21
#4154CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4154CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4154CE
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4154CE#FFFFFF#000000##FFFFFF
##4154CE1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4154ce;
/* rgb */ color: rgb(65, 84, 206);
/* oklch */ color: oklch(50.5% 0.189 271.2);
Tailwind
colors: {
  custom: {
    50: '#8784de',
    500: '#4154ce',
    950: '#000000',
  },
}
SCSS
$custom: #4154ce;
$custom-light: #8784de;
$custom-dark: #000000;
JSON
{
  "hex": "#4154ce",
  "rgb": {
    "r": 65,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 231.915,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50494,
    "c": 0.1885,
    "h": 271.2
  },
  "luminance": 0.11921
}

Semantic roles & 50–950 ramp

primary
#4154CE
secondary
#D4CC97
accent
#CD46E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0A15
muted
#7D7C83

Preview Lab

Preview with #4154CE

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

Preview Lab → · Contrast checker → · Palette generator →

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