#4F45BB#4F45BB

#4F45BB is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.2% C 0.179 H 280.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#4F45BB
RGBrgb(79, 69, 187)
HSLhsl(245, 46%, 50%)
HSVhsv(245, 63%, 73%)
CMYKcmyk(57.8%, 63.1%, 0%, 26.7%)
CIE-LABlab(36.94, 37.86, -61.03)
CIE-LCHlch(36.94, 71.82, 301.82°)
OKLaboklab(47.22% 0.0338 -0.1754)
OKLCHoklch(47.22% 0.179 280.9)
XYZxyz(14.3194, 9.5054, 48.0842)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F45BB #B1BB45
analogous
#4576BB #4F45BB #8A45BB
triadic
#4F45BB #BB4F45 #45BB4F
tetradic
#4F45BB #BB4576 #B1BB45 #45BB8A
square
#4F45BB #BB4576 #B1BB45 #45BB8A
split-complementary
#4F45BB #BB8A45 #76BB45
monochromatic
#292462 #3C348F #4F45BB #7972CB #A49FDC

Accessibility & contrast

On white

7.24
#4F45BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4F45BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F45BB
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F45BB#FFFFFF#000000##FFFFFF
##4F45BB1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#0053B9
Tritanopia (blue-blind)
#0F6279
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4f45bb;
/* rgb */ color: rgb(79, 69, 187);
/* oklch */ color: oklch(47.2% 0.179 280.9);
Tailwind
colors: {
  custom: {
    50: '#8b79d0',
    500: '#4f45bb',
    950: '#000000',
  },
}
SCSS
$custom: #4f45bb;
$custom-light: #8b79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f45bb",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 245.085,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.47215,
    "c": 0.17866,
    "h": 280.9
  },
  "luminance": 0.09506
}

Semantic roles & 50–950 ramp

primary
#4F45BB
secondary
#C4C894
accent
#D652CB
background
#F9F7FC
surface
#F1EDF9
border
#CBC8D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4F45BB

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

Preview Lab → · Contrast checker → · Palette generator →

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