#4F45C1#4F45C1

#4F45C1 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.7% C 0.186 H 280.3°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#4F45C1
RGBrgb(79, 69, 193)
HSLhsl(245, 50%, 51%)
HSVhsv(245, 64%, 76%)
CMYKcmyk(59.1%, 64.2%, 0%, 24.3%)
CIE-LABlab(37.42, 39.78, -63.76)
CIE-LCHlch(37.42, 75.15, 301.96°)
OKLaboklab(47.72% 0.0332 -0.1835)
OKLCHoklch(47.72% 0.186 280.3)
XYZxyz(14.9752, 9.7677, 51.5380)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F45C1 #B7C145
analogous
#4579C1 #4F45C1 #8D45C1
triadic
#4F45C1 #C14F45 #45C14F
tetradic
#4F45C1 #C14579 #B7C145 #45C18D
square
#4F45C1 #C14579 #B7C145 #45C18D
split-complementary
#4F45C1 #C18D45 #79C145
monochromatic
#292369 #3A3297 #4F45C1 #7A73D0 #A6A1E0

Accessibility & contrast

On white

7.11
#4F45C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4F45C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F45C1
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F45C1#FFFFFF#000000##FFFFFF
##4F45C11.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC5
Deuteranopia (green-blind)
#0053BF
Tritanopia (blue-blind)
#00647D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4f45c1;
/* rgb */ color: rgb(79, 69, 193);
/* oklch */ color: oklch(47.7% 0.186 280.3);
Tailwind
colors: {
  custom: {
    50: '#8c79d5',
    500: '#4f45c1',
    950: '#000000',
  },
}
SCSS
$custom: #4f45c1;
$custom-light: #8c79d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f45c1",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 193
  },
  "hsl": {
    "h": 244.839,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47717,
    "c": 0.18645,
    "h": 280.3
  },
  "luminance": 0.09769
}

Semantic roles & 50–950 ramp

primary
#4F45C1
secondary
#C8CC96
accent
#DA4ECE
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4F45C1

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

Preview Lab → · Contrast checker → · Palette generator →

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