#4F5D91#4F5D91

#4F5D91 is a mid, moderate blue. Relative luminance 0.115; OKLCH L 49.0% C 0.085 H 271.5°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#4F5D91
RGBrgb(79, 93, 145)
HSLhsl(227, 29%, 44%)
HSVhsv(227, 46%, 57%)
CMYKcmyk(45.5%, 35.9%, 0%, 43.1%)
CIE-LABlab(40.47, 9.16, -30.37)
CIE-LCHlch(40.47, 31.73, 286.78°)
OKLaboklab(49.01% 0.0022 -0.0854)
OKLCHoklch(49.01% 0.085 271.5)
XYZxyz(12.2480, 11.5346, 28.3636)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5D91 #91834F
analogous
#4F7E91 #4F5D91 #624F91
triadic
#4F5D91 #914F5D #5D914F
tetradic
#4F5D91 #914F7E #91834F #4F9162
square
#4F5D91 #914F7E #91834F #4F9162
split-complementary
#4F5D91 #91624F #7E914F
monochromatic
#242A42 #394469 #4F5D91 #6D7CB0 #959FC5

Accessibility & contrast

On white

6.35
#4F5D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4F5D91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5D91
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5D91#FFFFFF#000000##FFFFFF
##4F5D911.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6293
Deuteranopia (green-blind)
#445D90
Tritanopia (blue-blind)
#386870
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4f5d91;
/* rgb */ color: rgb(79, 93, 145);
/* oklch */ color: oklch(49.0% 0.085 271.5);
Tailwind
colors: {
  custom: {
    50: '#848ab1',
    500: '#4f5d91',
    950: '#000000',
  },
}
SCSS
$custom: #4f5d91;
$custom-light: #848ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5d91",
  "rgb": {
    "r": 79,
    "g": 93,
    "b": 145
  },
  "hsl": {
    "h": 227.273,
    "s": 29.464,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49006,
    "c": 0.0854,
    "h": 271.5
  },
  "luminance": 0.11535
}

Semantic roles & 50–950 ramp

primary
#4F5D91
secondary
#B2A98A
accent
#B162C6
background
#F8F8FA
surface
#EFF0F5
border
#CACBCF
text
#0B0B10
muted
#7C7C7F

Preview Lab

Preview with #4F5D91

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

Preview Lab → · Contrast checker → · Palette generator →

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