#4F45BF#4F45BF

#4F45BF is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.5% C 0.184 H 280.5°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#4F45BF
RGBrgb(79, 69, 191)
HSLhsl(245, 49%, 51%)
HSVhsv(245, 64%, 75%)
CMYKcmyk(58.6%, 63.9%, 0%, 25.1%)
CIE-LABlab(37.26, 39.14, -62.85)
CIE-LCHlch(37.26, 74.05, 301.91°)
OKLaboklab(47.55% 0.0334 -0.1808)
OKLCHoklch(47.55% 0.184 280.5)
XYZxyz(14.7536, 9.6791, 50.3709)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F45BF #B5BF45
analogous
#4578BF #4F45BF #8C45BF
triadic
#4F45BF #BF4F45 #45BF4F
tetradic
#4F45BF #BF4578 #B5BF45 #45BF8C
square
#4F45BF #BF4578 #B5BF45 #45BF8C
split-complementary
#4F45BF #BF8C45 #78BF45
monochromatic
#292366 #3B3394 #4F45BF #7A73CF #A5A0DE

Accessibility & contrast

On white

7.15
#4F45BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4F45BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F45BF
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F45BF#FFFFFF#000000##FFFFFF
##4F45BF1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#0053BD
Tritanopia (blue-blind)
#02647C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4f45bf;
/* rgb */ color: rgb(79, 69, 191);
/* oklch */ color: oklch(47.5% 0.184 280.5);
Tailwind
colors: {
  custom: {
    50: '#8b79d3',
    500: '#4f45bf',
    950: '#000000',
  },
}
SCSS
$custom: #4f45bf;
$custom-light: #8b79d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f45bf",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 244.918,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47549,
    "c": 0.18386,
    "h": 280.5
  },
  "luminance": 0.0968
}

Semantic roles & 50–950 ramp

primary
#4F45BF
secondary
#C6CB95
accent
#D84FCD
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4F45BF

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

Preview Lab → · Contrast checker → · Palette generator →

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