#4156D2#4156D2

#4156D2 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.2% C 0.191 H 270.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#4156D2
RGBrgb(65, 86, 210)
HSLhsl(231, 62%, 54%)
HSVhsv(231, 69%, 82%)
CMYKcmyk(69%, 59%, 0%, 17.6%)
CIE-LABlab(41.89, 32.93, -66.36)
CIE-LCHlch(41.89, 74.08, 296.39°)
OKLaboklab(51.19% 0.0024 -0.1913)
OKLCHoklch(51.19% 0.191 270.7)
XYZxyz(17.1367, 12.4309, 62.4566)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4156D2 #D2BD41
analogous
#419FD2 #4156D2 #7541D2
triadic
#4156D2 #D24156 #56D241
tetradic
#4156D2 #D2419F #D2BD41 #41D275
square
#4156D2 #D2419F #D2BD41 #41D275
split-complementary
#4156D2 #D27541 #9FD241
monochromatic
#1D2B7B #293CAD #4156D2 #7282DE #A4AEE9

Accessibility & contrast

On white

6.02
#4156D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4156D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4156D2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4156D2#FFFFFF#000000##FFFFFF
##4156D21.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#005CD0
Tritanopia (blue-blind)
#00758C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4156d2;
/* rgb */ color: rgb(65, 86, 210);
/* oklch */ color: oklch(51.2% 0.191 270.7);
Tailwind
colors: {
  custom: {
    50: '#8785e1',
    500: '#4156d2',
    950: '#000000',
  },
}
SCSS
$custom: #4156d2;
$custom-light: #8785e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4156d2",
  "rgb": {
    "r": 65,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 231.31,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51189,
    "c": 0.19136,
    "h": 270.7
  },
  "luminance": 0.12433
}

Semantic roles & 50–950 ramp

primary
#4156D2
secondary
#D6CD98
accent
#CD43E5
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4156D2

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

Preview Lab → · Contrast checker → · Palette generator →

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