#4157AE#4157AE

#4157AE is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.6% C 0.141 H 269.8°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#4157AE
RGBrgb(65, 87, 174)
HSLhsl(228, 46%, 47%)
HSVhsv(228, 63%, 68%)
CMYKcmyk(62.6%, 50%, 0%, 31.8%)
CIE-LABlab(39.57, 19.56, -49.15)
CIE-LCHlch(39.57, 52.90, 291.70°)
OKLaboklab(48.63% -0.0004 -0.1407)
OKLCHoklch(48.63% 0.141 269.8)
XYZxyz(13.2256, 10.9951, 41.4615)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4157AE #AE9841
analogous
#418EAE #4157AE #6241AE
triadic
#4157AE #AE4157 #57AE41
tetradic
#4157AE #AE418E #AE9841 #41AE62
square
#4157AE #AE418E #AE9841 #41AE62
split-complementary
#4157AE #AE6241 #8EAE41
monochromatic
#202A55 #304181 #4157AE #667AC6 #93A0D7

Accessibility & contrast

On white

6.56
#4157AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4157AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4157AE
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4157AE#FFFFFF#000000##FFFFFF
##4157AE1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2862B1
Deuteranopia (green-blind)
#0F59AC
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4157ae;
/* rgb */ color: rgb(65, 87, 174);
/* oklch */ color: oklch(48.6% 0.141 269.8);
Tailwind
colors: {
  custom: {
    50: '#8086c7',
    500: '#4157ae',
    950: '#000000',
  },
}
SCSS
$custom: #4157ae;
$custom-light: #8086c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4157ae",
  "rgb": {
    "r": 65,
    "g": 87,
    "b": 174
  },
  "hsl": {
    "h": 227.89,
    "s": 45.607,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48631,
    "c": 0.14071,
    "h": 269.8
  },
  "luminance": 0.10996
}

Semantic roles & 50–950 ramp

primary
#4157AE
secondary
#C2B689
accent
#BB53D5
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #4157AE

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

Preview Lab → · Contrast checker → · Palette generator →

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