#4156D8#4156D8

#4156D8 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.7% C 0.199 H 270.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#4156D8
RGBrgb(65, 86, 216)
HSLhsl(232, 66%, 55%)
HSVhsv(232, 70%, 85%)
CMYKcmyk(69.9%, 60.2%, 0%, 15.3%)
CIE-LABlab(42.36, 35.03, -69.04)
CIE-LCHlch(42.36, 77.41, 296.90°)
OKLaboklab(51.68% 0.0024 -0.1992)
OKLCHoklch(51.68% 0.199 270.7)
XYZxyz(17.8982, 12.7355, 66.4674)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4156D8 #D8C341
analogous
#41A1D8 #4156D8 #7841D8
triadic
#4156D8 #D84156 #56D841
tetradic
#4156D8 #D841A1 #D8C341 #41D878
square
#4156D8 #D841A1 #D8C341 #41D878
split-complementary
#4156D8 #D87841 #A1D841
monochromatic
#1B2A84 #253AB6 #4156D8 #7483E2 #A7B0ED

Accessibility & contrast

On white

5.92
#4156D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4156D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4156D8
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4156D8#FFFFFF#000000##FFFFFF
##4156D81.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#005DD5
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4156d8;
/* rgb */ color: rgb(65, 86, 216);
/* oklch */ color: oklch(51.7% 0.199 270.7);
Tailwind
colors: {
  custom: {
    50: '#8885e5',
    500: '#4156d8',
    950: '#000000',
  },
}
SCSS
$custom: #4156d8;
$custom-light: #8885e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4156d8",
  "rgb": {
    "r": 65,
    "g": 86,
    "b": 216
  },
  "hsl": {
    "h": 231.656,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51684,
    "c": 0.19921,
    "h": 270.7
  },
  "luminance": 0.12737
}

Semantic roles & 50–950 ramp

primary
#4156D8
secondary
#DAD19B
accent
#D13FE9
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4156D8

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

Preview Lab → · Contrast checker → · Palette generator →

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