#4156C9#4156C9

#4156C9 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.5% C 0.179 H 270.7°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4156C9
RGBrgb(65, 86, 201)
HSLhsl(231, 56%, 52%)
HSVhsv(231, 68%, 79%)
CMYKcmyk(67.7%, 57.2%, 0%, 21.2%)
CIE-LABlab(41.21, 29.76, -62.29)
CIE-LCHlch(41.21, 69.03, 295.54°)
OKLaboklab(50.47% 0.0023 -0.1794)
OKLCHoklch(50.47% 0.179 270.7)
XYZxyz(16.0468, 11.9949, 56.7166)
Luminance0.1200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4156C9 #C9B441
analogous
#419AC9 #4156C9 #7041C9
triadic
#4156C9 #C94156 #56C941
tetradic
#4156C9 #C9419A #C9B441 #41C970
square
#4156C9 #C9419A #C9B441 #41C970
split-complementary
#4156C9 #C97041 #9AC941
monochromatic
#202C70 #2D3F9F #4156C9 #7180D7 #A0ABE4

Accessibility & contrast

On white

6.18
#4156C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4156C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4156C9
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4156C9#FFFFFF#000000##FFFFFF
##4156C91.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4156c9;
/* rgb */ color: rgb(65, 86, 201);
/* oklch */ color: oklch(50.5% 0.179 270.7);
Tailwind
colors: {
  custom: {
    50: '#8585da',
    500: '#4156c9',
    950: '#000000',
  },
}
SCSS
$custom: #4156c9;
$custom-light: #8585da;
$custom-dark: #000000;
JSON
{
  "hex": "#4156c9",
  "rgb": {
    "r": 65,
    "g": 86,
    "b": 201
  },
  "hsl": {
    "h": 230.735,
    "s": 55.738,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50465,
    "c": 0.17938,
    "h": 270.7
  },
  "luminance": 0.11996
}

Semantic roles & 50–950 ramp

primary
#4156C9
secondary
#D1C795
accent
#C849DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #4156C9

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

Preview Lab → · Contrast checker → · Palette generator →

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