#4156AC#4156AC

#4156AC is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.139 H 270.2°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#4156AC
RGBrgb(65, 86, 172)
HSLhsl(228, 45%, 46%)
HSVhsv(228, 62%, 67%)
CMYKcmyk(62.2%, 50%, 0%, 32.5%)
CIE-LABlab(39.17, 19.50, -48.62)
CIE-LCHlch(39.17, 52.38, 291.86°)
OKLaboklab(48.28% 0.0004 -0.1391)
OKLCHoklch(48.28% 0.139 270.2)
XYZxyz(12.9517, 10.7569, 40.4155)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4156AC #AC9741
analogous
#418CAC #4156AC #6241AC
triadic
#4156AC #AC4156 #56AC41
tetradic
#4156AC #AC418C #AC9741 #41AC62
square
#4156AC #AC418C #AC9741 #41AC62
split-complementary
#4156AC #AC6241 #8CAC41
monochromatic
#1F2A53 #304080 #4156AC #6578C5 #929FD6

Accessibility & contrast

On white

6.66
#4156AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#4156AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4156AC
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4156AC#FFFFFF#000000##FFFFFF
##4156AC1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2861AF
Deuteranopia (green-blind)
#1158AA
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4156ac;
/* rgb */ color: rgb(65, 86, 172);
/* oklch */ color: oklch(48.3% 0.139 270.2);
Tailwind
colors: {
  custom: {
    50: '#8085c5',
    500: '#4156ac',
    950: '#000000',
  },
}
SCSS
$custom: #4156ac;
$custom-light: #8085c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4156ac",
  "rgb": {
    "r": 65,
    "g": 86,
    "b": 172
  },
  "hsl": {
    "h": 228.224,
    "s": 45.148,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48282,
    "c": 0.13915,
    "h": 270.2
  },
  "luminance": 0.10758
}

Semantic roles & 50–950 ramp

primary
#4156AC
secondary
#C1B688
accent
#BB53D5
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4156AC

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

Preview Lab → · Contrast checker → · Palette generator →

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