#4F45BE#4F45BE

#4F45BE is a mid, vivid blue. Relative luminance 0.096; OKLCH L 47.5% C 0.183 H 280.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#4F45BE
RGBrgb(79, 69, 190)
HSLhsl(245, 48%, 51%)
HSVhsv(245, 64%, 75%)
CMYKcmyk(58.4%, 63.7%, 0%, 25.5%)
CIE-LABlab(37.18, 38.82, -62.40)
CIE-LCHlch(37.18, 73.49, 301.89°)
OKLaboklab(47.47% 0.0335 -0.1795)
OKLCHoklch(47.47% 0.183 280.6)
XYZxyz(14.6439, 9.6352, 49.7933)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F45BE #B4BE45
analogous
#4577BE #4F45BE #8B45BE
triadic
#4F45BE #BE4F45 #45BE4F
tetradic
#4F45BE #BE4577 #B4BE45 #45BE8B
square
#4F45BE #BE4577 #B4BE45 #45BE8B
split-complementary
#4F45BE #BE8B45 #77BE45
monochromatic
#292365 #3B3393 #4F45BE #7A72CE #A5A0DE

Accessibility & contrast

On white

7.17
#4F45BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4F45BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F45BE
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F45BE#FFFFFF#000000##FFFFFF
##4F45BE1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC2
Deuteranopia (green-blind)
#0053BC
Tritanopia (blue-blind)
#05637B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4f45be;
/* rgb */ color: rgb(79, 69, 190);
/* oklch */ color: oklch(47.5% 0.183 280.6);
Tailwind
colors: {
  custom: {
    50: '#8b79d3',
    500: '#4f45be',
    950: '#000000',
  },
}
SCSS
$custom: #4f45be;
$custom-light: #8b79d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f45be",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 244.959,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47465,
    "c": 0.18256,
    "h": 280.6
  },
  "luminance": 0.09636
}

Semantic roles & 50–950 ramp

primary
#4F45BE
secondary
#C6CA95
accent
#D850CD
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4F45BE

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

Preview Lab → · Contrast checker → · Palette generator →

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