#4F5EC9#4F5EC9

#4F5EC9 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.8% C 0.166 H 273.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4F5EC9
RGBrgb(79, 94, 201)
HSLhsl(233, 53%, 55%)
HSVhsv(233, 61%, 79%)
CMYKcmyk(60.7%, 53.2%, 0%, 21.2%)
CIE-LABlab(44.07, 26.98, -57.62)
CIE-LCHlch(44.07, 63.62, 295.09°)
OKLaboklab(52.82% 0.0097 -0.1652)
OKLCHoklch(52.82% 0.166 273.4)
XYZxyz(17.7663, 13.8833, 56.9905)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5EC9 #C9BA4F
analogous
#4F9BC9 #4F5EC9 #7D4FC9
triadic
#4F5EC9 #C94F5E #5EC94F
tetradic
#4F5EC9 #C94F9B #C9BA4F #4FC97D
square
#4F5EC9 #C94F9B #C9BA4F #4FC97D
split-complementary
#4F5EC9 #C97D4F #9BC94F
monochromatic
#252F79 #3342A7 #4F5EC9 #7E89D7 #ADB4E6

Accessibility & contrast

On white

5.56
#4F5EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4F5EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5EC9
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5EC9#FFFFFF#000000##FFFFFF
##4F5EC91.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6ECD
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f5ec9;
/* rgb */ color: rgb(79, 94, 201);
/* oklch */ color: oklch(52.8% 0.166 273.4);
Tailwind
colors: {
  custom: {
    50: '#8c8bda',
    500: '#4f5ec9',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ec9;
$custom-light: #8c8bda;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ec9",
  "rgb": {
    "r": 79,
    "g": 94,
    "b": 201
  },
  "hsl": {
    "h": 232.623,
    "s": 53.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52821,
    "c": 0.1655,
    "h": 273.4
  },
  "luminance": 0.13885
}

Semantic roles & 50–950 ramp

primary
#4F5EC9
secondary
#D4CDA0
accent
#CB4BDC
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4F5EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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