#4F45C4#4F45C4

#4F45C4 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 48.0% C 0.190 H 280.0°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#4F45C4
RGBrgb(79, 69, 196)
HSLhsl(245, 52%, 52%)
HSVhsv(245, 65%, 77%)
CMYKcmyk(59.7%, 64.8%, 0%, 23.1%)
CIE-LABlab(37.67, 40.74, -65.11)
CIE-LCHlch(37.67, 76.81, 302.04°)
OKLaboklab(47.97% 0.033 -0.1874)
OKLCHoklch(47.97% 0.19 280)
XYZxyz(15.3132, 9.9029, 53.3184)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F45C4 #BAC445
analogous
#457BC4 #4F45C4 #8E45C4
triadic
#4F45C4 #C44F45 #45C44F
tetradic
#4F45C4 #C4457B #BAC445 #45C48E
square
#4F45C4 #C4457B #BAC445 #45C48E
split-complementary
#4F45C4 #C48E45 #7BC445
monochromatic
#28226C #39319B #4F45C4 #7B73D3 #A7A2E1

Accessibility & contrast

On white

7.05
#4F45C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4F45C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F45C4
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F45C4#FFFFFF#000000##FFFFFF
##4F45C41.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#0054C2
Tritanopia (blue-blind)
#00657E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f45c4;
/* rgb */ color: rgb(79, 69, 196);
/* oklch */ color: oklch(48.0% 0.190 280.0);
Tailwind
colors: {
  custom: {
    50: '#8c79d7',
    500: '#4f45c4',
    950: '#000000',
  },
}
SCSS
$custom: #4f45c4;
$custom-light: #8c79d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f45c4",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 196
  },
  "hsl": {
    "h": 244.724,
    "s": 51.837,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47972,
    "c": 0.1903,
    "h": 280
  },
  "luminance": 0.09904
}

Semantic roles & 50–950 ramp

primary
#4F45C4
secondary
#CACE97
accent
#DB4DD0
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4F45C4

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

Preview Lab → · Contrast checker → · Palette generator →

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