#4F45C7#4F45C7

#4F45C7 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 48.2% C 0.194 H 279.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#4F45C7
RGBrgb(79, 69, 199)
HSLhsl(245, 54%, 53%)
HSVhsv(245, 65%, 78%)
CMYKcmyk(60.3%, 65.3%, 0%, 22%)
CIE-LABlab(37.92, 41.70, -66.45)
CIE-LCHlch(37.92, 78.45, 302.11°)
OKLaboklab(48.23% 0.0326 -0.1914)
OKLCHoklch(48.23% 0.194 279.7)
XYZxyz(15.6581, 10.0409, 55.1347)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F45C7 #BDC745
analogous
#457CC7 #4F45C7 #9045C7
triadic
#4F45C7 #C74F45 #45C74F
tetradic
#4F45C7 #C7457C #BDC745 #45C790
square
#4F45C7 #C7457C #BDC745 #45C790
split-complementary
#4F45C7 #C79045 #7CC745
monochromatic
#282270 #38309F #4F45C7 #7C74D5 #A8A3E3

Accessibility & contrast

On white

6.98
#4F45C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4F45C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F45C7
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F45C7#FFFFFF#000000##FFFFFF
##4F45C71.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#0054C4
Tritanopia (blue-blind)
#006680
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f45c7;
/* rgb */ color: rgb(79, 69, 199);
/* oklch */ color: oklch(48.2% 0.194 279.7);
Tailwind
colors: {
  custom: {
    50: '#8d79d9',
    500: '#4f45c7',
    950: '#000000',
  },
}
SCSS
$custom: #4f45c7;
$custom-light: #8d79d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f45c7",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 244.615,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.48229,
    "c": 0.19413,
    "h": 279.7
  },
  "luminance": 0.10042
}

Semantic roles & 50–950 ramp

primary
#4F45C7
secondary
#CCD098
accent
#DD4BD2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4F45C7

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

Preview Lab → · Contrast checker → · Palette generator →

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