#4156BE#4156BE

#4156BE is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.6% C 0.164 H 270.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#4156BE
RGBrgb(65, 86, 190)
HSLhsl(230, 49%, 50%)
HSVhsv(230, 66%, 75%)
CMYKcmyk(65.8%, 54.7%, 0%, 25.5%)
CIE-LABlab(40.40, 25.87, -57.20)
CIE-LCHlch(40.40, 62.78, 294.34°)
OKLaboklab(49.61% 0.0019 -0.1644)
OKLCHoklch(49.61% 0.164 270.7)
XYZxyz(14.7989, 11.4958, 50.1442)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4156BE #BEA941
analogous
#4195BE #4156BE #6A41BE
triadic
#4156BE #BE4156 #56BE41
tetradic
#4156BE #BE4195 #BEA941 #41BE6A
square
#4156BE #BE4195 #BEA941 #41BE6A
split-complementary
#4156BE #BE6A41 #95BE41
monochromatic
#222D63 #314190 #4156BE #6F7FCE #9CA7DD

Accessibility & contrast

On white

6.36
#4156BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4156BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4156BE
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4156BE#FFFFFF#000000##FFFFFF
##4156BE1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0265C2
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4156be;
/* rgb */ color: rgb(65, 86, 190);
/* oklch */ color: oklch(49.6% 0.164 270.7);
Tailwind
colors: {
  custom: {
    50: '#8385d2',
    500: '#4156be',
    950: '#000000',
  },
}
SCSS
$custom: #4156be;
$custom-light: #8385d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4156be",
  "rgb": {
    "r": 65,
    "g": 86,
    "b": 190
  },
  "hsl": {
    "h": 229.92,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.49608,
    "c": 0.16442,
    "h": 270.7
  },
  "luminance": 0.11497
}

Semantic roles & 50–950 ramp

primary
#4156BE
secondary
#C9C091
accent
#C14FD9
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4156BE

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

Preview Lab → · Contrast checker → · Palette generator →

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