#4F45D9#4F45D9

#4F45D9 is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.8% C 0.217 H 278.1°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#4F45D9
RGBrgb(79, 69, 217)
HSLhsl(244, 66%, 56%)
HSVhsv(244, 68%, 85%)
CMYKcmyk(63.6%, 68.2%, 0%, 14.9%)
CIE-LABlab(39.46, 47.42, -74.33)
CIE-LCHlch(39.46, 88.16, 302.54°)
OKLaboklab(49.82% 0.0304 -0.2144)
OKLCHoklch(49.82% 0.217 278.1)
XYZxyz(17.8729, 10.9268, 66.7994)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F45D9 #CFD945
analogous
#4585D9 #4F45D9 #9945D9
triadic
#4F45D9 #D94F45 #45D94F
tetradic
#4F45D9 #D94585 #CFD945 #45D999
square
#4F45D9 #D94585 #CFD945 #45D999
split-complementary
#4F45D9 #D99945 #85D945
monochromatic
#231C88 #3026BB #4F45D9 #7F78E3 #AFABEE

Accessibility & contrast

On white

6.59
#4F45D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4F45D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F45D9
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F45D9#FFFFFF#000000##FFFFFF
##4F45D91.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DE
Deuteranopia (green-blind)
#0057D6
Tritanopia (blue-blind)
#006D8A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4f45d9;
/* rgb */ color: rgb(79, 69, 217);
/* oklch */ color: oklch(49.8% 0.217 278.1);
Tailwind
colors: {
  custom: {
    50: '#907ae6',
    500: '#4f45d9',
    950: '#000000',
  },
}
SCSS
$custom: #4f45d9;
$custom-light: #907ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f45d9",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 244.054,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.49816,
    "c": 0.21658,
    "h": 278.1
  },
  "luminance": 0.10928
}

Semantic roles & 50–950 ramp

primary
#4F45D9
secondary
#D7DB9E
accent
#E93FDE
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4F45D9

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

Preview Lab → · Contrast checker → · Palette generator →

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