#4F5EA1#4F5EA1

#4F5EA1 is a mid, moderate blue. Relative luminance 0.122; OKLCH L 50.2% C 0.108 H 272.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#4F5EA1
RGBrgb(79, 94, 161)
HSLhsl(229, 34%, 47%)
HSVhsv(229, 51%, 63%)
CMYKcmyk(50.9%, 41.6%, 0%, 36.9%)
CIE-LABlab(41.59, 13.64, -38.16)
CIE-LCHlch(41.59, 40.53, 289.66°)
OKLaboklab(50.15% 0.0046 -0.1081)
OKLCHoklch(50.15% 0.108 272.4)
XYZxyz(13.6581, 12.2400, 35.3542)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5EA1 #A1924F
analogous
#4F87A1 #4F5EA1 #694FA1
triadic
#4F5EA1 #A14F5E #5EA14F
tetradic
#4F5EA1 #A14F87 #A1924F #4FA169
square
#4F5EA1 #A14F87 #A1924F #4FA169
split-complementary
#4F5EA1 #A1694F #87A14F
monochromatic
#272E4F #3B4678 #4F5EA1 #7380BA #9CA5CE

Accessibility & contrast

On white

6.09
#4F5EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#4F5EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5EA1
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5EA1#FFFFFF#000000##FFFFFF
##4F5EA11.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4366A4
Deuteranopia (green-blind)
#3B5FA0
Tritanopia (blue-blind)
#2D6C77
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4f5ea1;
/* rgb */ color: rgb(79, 94, 161);
/* oklch */ color: oklch(50.2% 0.108 272.4);
Tailwind
colors: {
  custom: {
    50: '#858bbd',
    500: '#4f5ea1',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ea1;
$custom-light: #858bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ea1",
  "rgb": {
    "r": 79,
    "g": 94,
    "b": 161
  },
  "hsl": {
    "h": 229.024,
    "s": 34.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50151,
    "c": 0.10817,
    "h": 272.4
  },
  "luminance": 0.12241
}

Semantic roles & 50–950 ramp

primary
#4F5EA1
secondary
#BBB391
accent
#B65ECA
background
#F8F8FB
surface
#F0F0F6
border
#CBCBD0
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4F5EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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