#4F5EA2#4F5EA2

#4F5EA2 is a mid, moderate blue. Relative luminance 0.123; OKLCH L 50.2% C 0.110 H 272.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#4F5EA2
RGBrgb(79, 94, 162)
HSLhsl(229, 34%, 47%)
HSVhsv(229, 51%, 64%)
CMYKcmyk(51.2%, 42%, 0%, 36.5%)
CIE-LABlab(41.65, 13.96, -38.67)
CIE-LCHlch(41.65, 41.11, 289.85°)
OKLaboklab(50.21% 0.0048 -0.1095)
OKLCHoklch(50.21% 0.11 272.5)
XYZxyz(13.7467, 12.2754, 35.8204)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5EA2 #A2934F
analogous
#4F87A2 #4F5EA2 #6A4FA2
triadic
#4F5EA2 #A24F5E #5EA24F
tetradic
#4F5EA2 #A24F87 #A2934F #4FA26A
square
#4F5EA2 #A24F87 #A2934F #4FA26A
split-complementary
#4F5EA2 #A26A4F #87A24F
monochromatic
#272E50 #3B4679 #4F5EA2 #7380BB #9CA6CF

Accessibility & contrast

On white

6.08
#4F5EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#4F5EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5EA2
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5EA2#FFFFFF#000000##FFFFFF
##4F5EA21.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4366A5
Deuteranopia (green-blind)
#3A5FA0
Tritanopia (blue-blind)
#2C6C78
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4f5ea2;
/* rgb */ color: rgb(79, 94, 162);
/* oklch */ color: oklch(50.2% 0.110 272.5);
Tailwind
colors: {
  custom: {
    50: '#868bbe',
    500: '#4f5ea2',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ea2;
$custom-light: #868bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ea2",
  "rgb": {
    "r": 79,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 229.157,
    "s": 34.44,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50211,
    "c": 0.10966,
    "h": 272.5
  },
  "luminance": 0.12276
}

Semantic roles & 50–950 ramp

primary
#4F5EA2
secondary
#BCB491
accent
#B75DCB
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0B0C12
muted
#7C7D81

Preview Lab

Preview with #4F5EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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