#4156CE#4156CE

#4156CE is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.9% C 0.186 H 270.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4156CE
RGBrgb(65, 86, 206)
HSLhsl(231, 59%, 53%)
HSVhsv(231, 68%, 81%)
CMYKcmyk(68.4%, 58.3%, 0%, 19.2%)
CIE-LABlab(41.59, 31.52, -64.56)
CIE-LCHlch(41.59, 71.84, 296.02°)
OKLaboklab(50.87% 0.0024 -0.186)
OKLCHoklch(50.87% 0.186 270.7)
XYZxyz(16.6446, 12.2340, 59.8648)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4156CE #CEB941
analogous
#419CCE #4156CE #7241CE
triadic
#4156CE #CE4156 #56CE41
tetradic
#4156CE #CE419C #CEB941 #41CE72
square
#4156CE #CE419C #CEB941 #41CE72
split-complementary
#4156CE #CE7241 #9CCE41
monochromatic
#1E2C76 #2B3DA7 #4156CE #7281DB #A2ADE7

Accessibility & contrast

On white

6.09
#4156CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4156CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4156CE
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4156CE#FFFFFF#000000##FFFFFF
##4156CE1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4156ce;
/* rgb */ color: rgb(65, 86, 206);
/* oklch */ color: oklch(50.9% 0.186 270.7);
Tailwind
colors: {
  custom: {
    50: '#8685de',
    500: '#4156ce',
    950: '#000000',
  },
}
SCSS
$custom: #4156ce;
$custom-light: #8685de;
$custom-dark: #000000;
JSON
{
  "hex": "#4156ce",
  "rgb": {
    "r": 65,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 231.064,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50865,
    "c": 0.18607,
    "h": 270.7
  },
  "luminance": 0.12236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4156CE

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

Preview Lab → · Contrast checker → · Palette generator →

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