#4148AE#4148AE

#4148AE is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.160 H 275.1°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4148AE
RGBrgb(65, 72, 174)
HSLhsl(236, 46%, 47%)
HSVhsv(236, 63%, 68%)
CMYKcmyk(62.6%, 58.6%, 0%, 31.8%)
CIE-LABlab(35.62, 29.26, -55.53)
CIE-LCHlch(35.62, 62.77, 297.78°)
OKLaboklab(45.67% 0.0143 -0.1597)
OKLCHoklch(45.67% 0.16 275.1)
XYZxyz(12.1348, 8.8136, 41.0979)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4148AE #AEA741
analogous
#417FAE #4148AE #7141AE
triadic
#4148AE #AE4148 #48AE41
tetradic
#4148AE #AE417F #AEA741 #41AE71
square
#4148AE #AE417F #AEA741 #41AE71
split-complementary
#4148AE #AE7141 #7FAE41
monochromatic
#202355 #303681 #4148AE #666CC6 #9397D7

Accessibility & contrast

On white

7.60
#4148AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4148AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4148AE
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4148AE#FFFFFF#000000##FFFFFF
##4148AE1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4148ae;
/* rgb */ color: rgb(65, 72, 174);
/* oklch */ color: oklch(45.7% 0.160 275.1);
Tailwind
colors: {
  custom: {
    50: '#817bc7',
    500: '#4148ae',
    950: '#000000',
  },
}
SCSS
$custom: #4148ae;
$custom-light: #817bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4148ae",
  "rgb": {
    "r": 65,
    "g": 72,
    "b": 174
  },
  "hsl": {
    "h": 236.147,
    "s": 45.607,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45666,
    "c": 0.1603,
    "h": 275.1
  },
  "luminance": 0.08815
}

Semantic roles & 50–950 ramp

primary
#4148AE
secondary
#C2BE89
accent
#CD53D5
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #4148AE

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

Preview Lab → · Contrast checker → · Palette generator →

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