#4F45D5#4F45D5

#4F45D5 is a mid, highly saturated blue. Relative luminance 0.107; OKLCH L 49.5% C 0.212 H 278.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#4F45D5
RGBrgb(79, 69, 213)
HSLhsl(244, 63%, 55%)
HSVhsv(244, 68%, 84%)
CMYKcmyk(62.9%, 67.6%, 0%, 16.5%)
CIE-LABlab(39.11, 46.15, -72.60)
CIE-LCHlch(39.11, 86.03, 302.44°)
OKLaboklab(49.46% 0.0309 -0.2094)
OKLCHoklch(49.46% 0.212 278.4)
XYZxyz(17.3590, 10.7212, 64.0925)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F45D5 #CBD545
analogous
#4583D5 #4F45D5 #9745D5
triadic
#4F45D5 #D54F45 #45D54F
tetradic
#4F45D5 #D54583 #CBD545 #45D597
square
#4F45D5 #D54583 #CBD545 #45D597
split-complementary
#4F45D5 #D59745 #83D545
monochromatic
#241D82 #3229B4 #4F45D5 #7E77E0 #ADA9EC

Accessibility & contrast

On white

6.68
#4F45D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#4F45D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F45D5
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F45D5#FFFFFF#000000##FFFFFF
##4F45D51.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D9
Deuteranopia (green-blind)
#0056D2
Tritanopia (blue-blind)
#006B87
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4f45d5;
/* rgb */ color: rgb(79, 69, 213);
/* oklch */ color: oklch(49.5% 0.212 278.4);
Tailwind
colors: {
  custom: {
    50: '#8f7ae3',
    500: '#4f45d5',
    950: '#000000',
  },
}
SCSS
$custom: #4f45d5;
$custom-light: #8f7ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f45d5",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 244.167,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.49457,
    "c": 0.21166,
    "h": 278.4
  },
  "luminance": 0.10723
}

Semantic roles & 50–950 ramp

primary
#4F45D5
secondary
#D5D99D
accent
#E642DB
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #4F45D5

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

Preview Lab → · Contrast checker → · Palette generator →

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