#4156BC#4156BC

#4156BC is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.5% C 0.162 H 270.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#4156BC
RGBrgb(65, 86, 188)
HSLhsl(230, 49%, 50%)
HSVhsv(230, 65%, 74%)
CMYKcmyk(65.4%, 54.3%, 0%, 26.3%)
CIE-LABlab(40.26, 25.16, -56.26)
CIE-LCHlch(40.26, 61.63, 294.10°)
OKLaboklab(49.46% 0.0018 -0.1617)
OKLCHoklch(49.46% 0.162 270.6)
XYZxyz(14.5818, 11.4089, 49.0009)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4156BC #BCA741
analogous
#4194BC #4156BC #6941BC
triadic
#4156BC #BC4156 #56BC41
tetradic
#4156BC #BC4194 #BCA741 #41BC69
square
#4156BC #BC4194 #BCA741 #41BC69
split-complementary
#4156BC #BC6941 #94BC41
monochromatic
#222C61 #31418F #4156BC #6E7ECD #9BA6DC

Accessibility & contrast

On white

6.40
#4156BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4156BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4156BC
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4156BC#FFFFFF#000000##FFFFFF
##4156BC1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A65C0
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4156bc;
/* rgb */ color: rgb(65, 86, 188);
/* oklch */ color: oklch(49.5% 0.162 270.6);
Tailwind
colors: {
  custom: {
    50: '#8385d1',
    500: '#4156bc',
    950: '#000000',
  },
}
SCSS
$custom: #4156bc;
$custom-light: #8385d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4156bc",
  "rgb": {
    "r": 65,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 229.756,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49456,
    "c": 0.16167,
    "h": 270.6
  },
  "luminance": 0.1141
}

Semantic roles & 50–950 ramp

primary
#4156BC
secondary
#C9BF90
accent
#C150D8
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4156BC

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

Preview Lab → · Contrast checker → · Palette generator →

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