#4156AE#4156AE

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

Color values

HEX#4156AE
RGBrgb(65, 86, 174)
HSLhsl(228, 46%, 47%)
HSVhsv(228, 63%, 68%)
CMYKcmyk(62.6%, 50.6%, 0%, 31.8%)
CIE-LABlab(39.30, 20.21, -49.59)
CIE-LCHlch(39.30, 53.55, 292.17°)
OKLaboklab(48.42% 0.0006 -0.142)
OKLCHoklch(48.42% 0.142 270.2)
XYZxyz(13.1452, 10.8343, 41.4347)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4156AE #AE9941
analogous
#418DAE #4156AE #6241AE
triadic
#4156AE #AE4156 #56AE41
tetradic
#4156AE #AE418D #AE9941 #41AE62
square
#4156AE #AE418D #AE9941 #41AE62
split-complementary
#4156AE #AE6241 #8DAE41
monochromatic
#202A55 #304081 #4156AE #6679C6 #93A0D7

Accessibility & contrast

On white

6.63
#4156AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4156AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4156AE
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4156AE#FFFFFF#000000##FFFFFF
##4156AE1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2662B1
Deuteranopia (green-blind)
#0A58AC
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4156ae;
/* rgb */ color: rgb(65, 86, 174);
/* oklch */ color: oklch(48.4% 0.142 270.2);
Tailwind
colors: {
  custom: {
    50: '#8085c7',
    500: '#4156ae',
    950: '#000000',
  },
}
SCSS
$custom: #4156ae;
$custom-light: #8085c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4156ae",
  "rgb": {
    "r": 65,
    "g": 86,
    "b": 174
  },
  "hsl": {
    "h": 228.44,
    "s": 45.607,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48424,
    "c": 0.14201,
    "h": 270.2
  },
  "luminance": 0.10835
}

Semantic roles & 50–950 ramp

primary
#4156AE
secondary
#C2B789
accent
#BC53D5
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4156AE

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

Preview Lab → · Contrast checker → · Palette generator →

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