#4F45AC#4F45AC

#4F45AC is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.0% C 0.159 H 282.6°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#4F45AC
RGBrgb(79, 69, 172)
HSLhsl(246, 43%, 47%)
HSVhsv(246, 60%, 67%)
CMYKcmyk(54.1%, 59.9%, 0%, 32.5%)
CIE-LABlab(35.78, 33.06, -54.03)
CIE-LCHlch(35.78, 63.34, 301.46°)
OKLaboklab(46.01% 0.0346 -0.1549)
OKLCHoklch(46.01% 0.159 282.6)
XYZxyz(12.7967, 8.8963, 40.0646)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F45AC #A2AC45
analogous
#456FAC #4F45AC #8245AC
triadic
#4F45AC #AC4F45 #45AC4F
tetradic
#4F45AC #AC456F #A2AC45 #45AC82
square
#4F45AC #AC456F #A2AC45 #45AC82
split-complementary
#4F45AC #AC8245 #6FAC45
monochromatic
#272255 #3B3380 #4F45AC #736BC4 #9C96D5

Accessibility & contrast

On white

7.56
#4F45AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4F45AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F45AC
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F45AC#FFFFFF#000000##FFFFFF
##4F45AC1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#0051AA
Tritanopia (blue-blind)
#275D72
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4f45ac;
/* rgb */ color: rgb(79, 69, 172);
/* oklch */ color: oklch(46.0% 0.159 282.6);
Tailwind
colors: {
  custom: {
    50: '#8879c5',
    500: '#4f45ac',
    950: '#000000',
  },
}
SCSS
$custom: #4f45ac;
$custom-light: #8879c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4f45ac",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 245.825,
    "s": 42.739,
    "l": 47.255
  },
  "oklch": {
    "l": 0.46005,
    "c": 0.15869,
    "h": 282.6
  },
  "luminance": 0.08897
}

Semantic roles & 50–950 ramp

primary
#4F45AC
secondary
#BCC18C
accent
#D355C6
background
#F8F7FC
surface
#F0EDF8
border
#CBC8D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4F45AC

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

Preview Lab → · Contrast checker → · Palette generator →

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