#4156C8#4156C8

#4156C8 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.4% C 0.178 H 270.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#4156C8
RGBrgb(65, 86, 200)
HSLhsl(231, 55%, 52%)
HSVhsv(231, 68%, 78%)
CMYKcmyk(67.5%, 57%, 0%, 21.6%)
CIE-LABlab(41.13, 29.41, -61.83)
CIE-LCHlch(41.13, 68.47, 295.44°)
OKLaboklab(50.39% 0.0023 -0.178)
OKLCHoklch(50.39% 0.178 270.7)
XYZxyz(15.9296, 11.9480, 56.0991)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4156C8 #C8B341
analogous
#4199C8 #4156C8 #7041C8
triadic
#4156C8 #C84156 #56C841
tetradic
#4156C8 #C84199 #C8B341 #41C870
square
#4156C8 #C84199 #C8B341 #41C870
split-complementary
#4156C8 #C87041 #99C841
monochromatic
#202C6F #2E3F9E #4156C8 #7080D6 #A0AAE3

Accessibility & contrast

On white

6.19
#4156C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#4156C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4156C8
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4156C8#FFFFFF#000000##FFFFFF
##4156C81.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#005BC6
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4156c8;
/* rgb */ color: rgb(65, 86, 200);
/* oklch */ color: oklch(50.4% 0.178 270.7);
Tailwind
colors: {
  custom: {
    50: '#8585da',
    500: '#4156c8',
    950: '#000000',
  },
}
SCSS
$custom: #4156c8;
$custom-light: #8585da;
$custom-dark: #000000;
JSON
{
  "hex": "#4156c8",
  "rgb": {
    "r": 65,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 230.667,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50385,
    "c": 0.17803,
    "h": 270.7
  },
  "luminance": 0.1195
}

Semantic roles & 50–950 ramp

primary
#4156C8
secondary
#D0C795
accent
#C749DE
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #4156C8

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

Preview Lab → · Contrast checker → · Palette generator →

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