#4F45BC#4F45BC

#4F45BC is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.3% C 0.180 H 280.8°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#4F45BC
RGBrgb(79, 69, 188)
HSLhsl(245, 47%, 50%)
HSVhsv(245, 63%, 74%)
CMYKcmyk(58%, 63.3%, 0%, 26.3%)
CIE-LABlab(37.02, 38.18, -61.49)
CIE-LCHlch(37.02, 72.38, 301.84°)
OKLaboklab(47.3% 0.0337 -0.1768)
OKLCHoklch(47.3% 0.18 280.8)
XYZxyz(14.4268, 9.5484, 48.6500)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F45BC #B2BC45
analogous
#4576BC #4F45BC #8A45BC
triadic
#4F45BC #BC4F45 #45BC4F
tetradic
#4F45BC #BC4576 #B2BC45 #45BC8A
square
#4F45BC #BC4576 #B2BC45 #45BC8A
split-complementary
#4F45BC #BC8A45 #76BC45
monochromatic
#292463 #3C3490 #4F45BC #7A72CC #A49FDC

Accessibility & contrast

On white

7.22
#4F45BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#4F45BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F45BC
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F45BC#FFFFFF#000000##FFFFFF
##4F45BC1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#0C637A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4f45bc;
/* rgb */ color: rgb(79, 69, 188);
/* oklch */ color: oklch(47.3% 0.180 280.8);
Tailwind
colors: {
  custom: {
    50: '#8b79d1',
    500: '#4f45bc',
    950: '#000000',
  },
}
SCSS
$custom: #4f45bc;
$custom-light: #8b79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f45bc",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 245.042,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47298,
    "c": 0.17996,
    "h": 280.8
  },
  "luminance": 0.09549
}

Semantic roles & 50–950 ramp

primary
#4F45BC
secondary
#C4C994
accent
#D751CB
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4F45BC

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

Preview Lab → · Contrast checker → · Palette generator →

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