#4156BB#4156BB

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

Color values

HEX#4156BB
RGBrgb(65, 86, 187)
HSLhsl(230, 48%, 49%)
HSVhsv(230, 65%, 73%)
CMYKcmyk(65.2%, 54%, 0%, 26.7%)
CIE-LABlab(40.19, 24.81, -55.79)
CIE-LCHlch(40.19, 61.06, 293.97°)
OKLaboklab(49.38% 0.0017 -0.1603)
OKLCHoklch(49.38% 0.16 270.6)
XYZxyz(14.4744, 11.3659, 48.4351)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4156BB #BBA641
analogous
#4193BB #4156BB #6941BB
triadic
#4156BB #BB4156 #56BB41
tetradic
#4156BB #BB4193 #BBA641 #41BB69
square
#4156BB #BB4193 #BBA641 #41BB69
split-complementary
#4156BB #BB6941 #93BB41
monochromatic
#212C60 #31418E #4156BB #6D7DCC #9AA6DC

Accessibility & contrast

On white

6.42
#4156BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#4156BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4156BB
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4156BB#FFFFFF#000000##FFFFFF
##4156BB1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D64BF
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4156bb;
/* rgb */ color: rgb(65, 86, 187);
/* oklch */ color: oklch(49.4% 0.160 270.6);
Tailwind
colors: {
  custom: {
    50: '#8385d0',
    500: '#4156bb',
    950: '#000000',
  },
}
SCSS
$custom: #4156bb;
$custom-light: #8385d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4156bb",
  "rgb": {
    "r": 65,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 229.672,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.4938,
    "c": 0.16028,
    "h": 270.6
  },
  "luminance": 0.11367
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4156BB

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

Preview Lab → · Contrast checker → · Palette generator →

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