#4F45D8#4F45D8

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

Color values

HEX#4F45D8
RGBrgb(79, 69, 216)
HSLhsl(244, 65%, 56%)
HSVhsv(244, 68%, 85%)
CMYKcmyk(63.4%, 68.1%, 0%, 15.3%)
CIE-LABlab(39.37, 47.10, -73.90)
CIE-LCHlch(39.37, 87.63, 302.51°)
OKLaboklab(49.73% 0.0305 -0.2132)
OKLCHoklch(49.73% 0.215 278.1)
XYZxyz(17.7432, 10.8749, 66.1165)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F45D8 #CED845
analogous
#4584D8 #4F45D8 #9945D8
triadic
#4F45D8 #D84F45 #45D84F
tetradic
#4F45D8 #D84584 #CED845 #45D899
square
#4F45D8 #D84584 #CED845 #45D899
split-complementary
#4F45D8 #D89945 #84D845
monochromatic
#231C86 #3127B9 #4F45D8 #7F78E3 #AFAAED

Accessibility & contrast

On white

6.61
#4F45D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4F45D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F45D8
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F45D8#FFFFFF#000000##FFFFFF
##4F45D81.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DC
Deuteranopia (green-blind)
#0057D5
Tritanopia (blue-blind)
#006C89
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4f45d8;
/* rgb */ color: rgb(79, 69, 216);
/* oklch */ color: oklch(49.7% 0.215 278.1);
Tailwind
colors: {
  custom: {
    50: '#907ae5',
    500: '#4f45d8',
    950: '#000000',
  },
}
SCSS
$custom: #4f45d8;
$custom-light: #907ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f45d8",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 244.082,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.49726,
    "c": 0.21535,
    "h": 278.1
  },
  "luminance": 0.10876
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F45D8

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

Preview Lab → · Contrast checker → · Palette generator →

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