#4156AF#4156AF

#4156AF is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.5% C 0.143 H 270.3°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#4156AF
RGBrgb(65, 86, 175)
HSLhsl(229, 46%, 47%)
HSVhsv(229, 63%, 69%)
CMYKcmyk(62.9%, 50.9%, 0%, 31.4%)
CIE-LABlab(39.37, 20.56, -50.07)
CIE-LCHlch(39.37, 54.13, 292.33°)
OKLaboklab(48.5% 0.0007 -0.1434)
OKLCHoklch(48.5% 0.143 270.3)
XYZxyz(13.2430, 10.8734, 41.9500)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4156AF #AF9A41
analogous
#418DAF #4156AF #6341AF
triadic
#4156AF #AF4156 #56AF41
tetradic
#4156AF #AF418D #AF9A41 #41AF63
square
#4156AF #AF418D #AF9A41 #41AF63
split-complementary
#4156AF #AF6341 #8DAF41
monochromatic
#202A56 #304082 #4156AF #6779C6 #93A0D7

Accessibility & contrast

On white

6.61
#4156AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4156AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4156AF
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4156AF#FFFFFF#000000##FFFFFF
##4156AF1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2562B2
Deuteranopia (green-blind)
#0658AD
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4156af;
/* rgb */ color: rgb(65, 86, 175);
/* oklch */ color: oklch(48.5% 0.143 270.3);
Tailwind
colors: {
  custom: {
    50: '#8085c7',
    500: '#4156af',
    950: '#000000',
  },
}
SCSS
$custom: #4156af;
$custom-light: #8085c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4156af",
  "rgb": {
    "r": 65,
    "g": 86,
    "b": 175
  },
  "hsl": {
    "h": 228.545,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48496,
    "c": 0.14343,
    "h": 270.3
  },
  "luminance": 0.10875
}

Semantic roles & 50–950 ramp

primary
#4156AF
secondary
#C2B889
accent
#BC52D5
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4156AF

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

Preview Lab → · Contrast checker → · Palette generator →

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