#4F45C8#4F45C8

#4F45C8 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.3% C 0.195 H 279.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#4F45C8
RGBrgb(79, 69, 200)
HSLhsl(245, 54%, 53%)
HSVhsv(245, 66%, 78%)
CMYKcmyk(60.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(38.00, 42.02, -66.90)
CIE-LCHlch(38.00, 79.00, 302.13°)
OKLaboklab(48.32% 0.0325 -0.1927)
OKLCHoklch(48.32% 0.195 279.6)
XYZxyz(15.7746, 10.0875, 55.7482)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F45C8 #BEC845
analogous
#457DC8 #4F45C8 #9045C8
triadic
#4F45C8 #C84F45 #45C84F
tetradic
#4F45C8 #C8457D #BEC845 #45C890
square
#4F45C8 #C8457D #BEC845 #45C890
split-complementary
#4F45C8 #C89045 #7DC845
monochromatic
#282171 #382FA0 #4F45C8 #7C74D6 #A8A3E4

Accessibility & contrast

On white

6.96
#4F45C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4F45C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F45C8
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F45C8#FFFFFF#000000##FFFFFF
##4F45C81.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0054C5
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f45c8;
/* rgb */ color: rgb(79, 69, 200);
/* oklch */ color: oklch(48.3% 0.195 279.6);
Tailwind
colors: {
  custom: {
    50: '#8d7ada',
    500: '#4f45c8',
    950: '#000000',
  },
}
SCSS
$custom: #4f45c8;
$custom-light: #8d7ada;
$custom-dark: #000000;
JSON
{
  "hex": "#4f45c8",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 244.58,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.48315,
    "c": 0.1954,
    "h": 279.6
  },
  "luminance": 0.10089
}

Semantic roles & 50–950 ramp

primary
#4F45C8
secondary
#CCD198
accent
#DE4AD2
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4F45C8

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

Preview Lab → · Contrast checker → · Palette generator →

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