#4F45D7#4F45D7

#4F45D7 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.6% C 0.214 H 278.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#4F45D7
RGBrgb(79, 69, 215)
HSLhsl(244, 65%, 56%)
HSVhsv(244, 68%, 84%)
CMYKcmyk(63.3%, 67.9%, 0%, 15.7%)
CIE-LABlab(39.28, 46.78, -73.47)
CIE-LCHlch(39.28, 87.10, 302.49°)
OKLaboklab(49.64% 0.0307 -0.2119)
OKLCHoklch(49.64% 0.214 278.2)
XYZxyz(17.6144, 10.8234, 65.4377)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F45D7 #CDD745
analogous
#4584D7 #4F45D7 #9845D7
triadic
#4F45D7 #D74F45 #45D74F
tetradic
#4F45D7 #D74584 #CDD745 #45D798
square
#4F45D7 #D74584 #CDD745 #45D798
split-complementary
#4F45D7 #D79845 #84D745
monochromatic
#241D85 #3127B7 #4F45D7 #7F77E2 #AEAAED

Accessibility & contrast

On white

6.64
#4F45D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#4F45D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F45D7
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F45D7#FFFFFF#000000##FFFFFF
##4F45D71.006.643.176.64
#FFFFFF6.641.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DB
Deuteranopia (green-blind)
#0056D4
Tritanopia (blue-blind)
#006C88
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4f45d7;
/* rgb */ color: rgb(79, 69, 215);
/* oklch */ color: oklch(49.6% 0.214 278.2);
Tailwind
colors: {
  custom: {
    50: '#907ae5',
    500: '#4f45d7',
    950: '#000000',
  },
}
SCSS
$custom: #4f45d7;
$custom-light: #907ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f45d7",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 244.11,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.49636,
    "c": 0.21412,
    "h": 278.2
  },
  "luminance": 0.10825
}

Semantic roles & 50–950 ramp

primary
#4F45D7
secondary
#D6DA9E
accent
#E840DC
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4F45D7

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

Preview Lab → · Contrast checker → · Palette generator →

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