#4F45BD#4F45BD

#4F45BD is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.4% C 0.181 H 280.7°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#4F45BD
RGBrgb(79, 69, 189)
HSLhsl(245, 48%, 51%)
HSVhsv(245, 63%, 74%)
CMYKcmyk(58.2%, 63.5%, 0%, 25.9%)
CIE-LABlab(37.10, 38.50, -61.94)
CIE-LCHlch(37.10, 72.93, 301.87°)
OKLaboklab(47.38% 0.0336 -0.1781)
OKLCHoklch(47.38% 0.181 280.7)
XYZxyz(14.5350, 9.5916, 49.2197)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F45BD #B3BD45
analogous
#4577BD #4F45BD #8B45BD
triadic
#4F45BD #BD4F45 #45BD4F
tetradic
#4F45BD #BD4577 #B3BD45 #45BD8B
square
#4F45BD #BD4577 #B3BD45 #45BD8B
split-complementary
#4F45BD #BD8B45 #77BD45
monochromatic
#292464 #3B3491 #4F45BD #7A72CD #A49FDD

Accessibility & contrast

On white

7.20
#4F45BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4F45BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F45BD
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F45BD#FFFFFF#000000##FFFFFF
##4F45BD1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#0053BB
Tritanopia (blue-blind)
#09637A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4f45bd;
/* rgb */ color: rgb(79, 69, 189);
/* oklch */ color: oklch(47.4% 0.181 280.7);
Tailwind
colors: {
  custom: {
    50: '#8b79d2',
    500: '#4f45bd',
    950: '#000000',
  },
}
SCSS
$custom: #4f45bd;
$custom-light: #8b79d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f45bd",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 245,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47381,
    "c": 0.18126,
    "h": 280.7
  },
  "luminance": 0.09593
}

Semantic roles & 50–950 ramp

primary
#4F45BD
secondary
#C5CA94
accent
#D751CC
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4F45BD

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

Preview Lab → · Contrast checker → · Palette generator →

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