#4B417E#4B417E

#4B417E is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.6% C 0.099 H 288.9°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#4B417E
RGBrgb(75, 65, 126)
HSLhsl(250, 32%, 37%)
HSVhsv(250, 48%, 49%)
CMYKcmyk(40.5%, 48.4%, 0%, 50.6%)
CIE-LABlab(31.31, 20.19, -33.24)
CIE-LCHlch(31.31, 38.89, 301.27°)
OKLaboklab(41.59% 0.0321 -0.0939)
OKLCHoklch(41.59% 0.099 288.9)
XYZxyz(8.5568, 6.7825, 20.5929)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B417E #747E41
analogous
#41567E #4B417E #69417E
triadic
#4B417E #7E4B41 #417E4B
tetradic
#4B417E #7E4156 #747E41 #417E69
square
#4B417E #7E4156 #747E41 #417E69
split-complementary
#4B417E #7E6941 #567E41
monochromatic
#1B172D #332C56 #4B417E #6356A6 #887DBC

Accessibility & contrast

On white

8.91
#4B417E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4B417E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B417E
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B417E#FFFFFF#000000##FFFFFF
##4B417E1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4B80
Deuteranopia (green-blind)
#2B487D
Tritanopia (blue-blind)
#3D4D59
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4b417e;
/* rgb */ color: rgb(75, 65, 126);
/* oklch */ color: oklch(41.6% 0.099 288.9);
Tailwind
colors: {
  custom: {
    50: '#8075a4',
    500: '#4b417e',
    950: '#000000',
  },
}
SCSS
$custom: #4b417e;
$custom-light: #8075a4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b417e",
  "rgb": {
    "r": 75,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 249.836,
    "s": 31.937,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41589,
    "c": 0.09925,
    "h": 288.9
  },
  "luminance": 0.06783
}

Semantic roles & 50–950 ramp

primary
#4B417E
secondary
#9EA774
accent
#C860B7
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0A080F
muted
#7C7B7F

Preview Lab

Preview with #4B417E

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

Preview Lab → · Contrast checker → · Palette generator →

#4B417E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva