#4F45CF#4F45CF

#4F45CF is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 48.9% C 0.204 H 278.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#4F45CF
RGBrgb(79, 69, 207)
HSLhsl(244, 59%, 54%)
HSVhsv(244, 67%, 81%)
CMYKcmyk(61.8%, 66.7%, 0%, 18.8%)
CIE-LABlab(38.59, 44.25, -69.99)
CIE-LCHlch(38.59, 82.80, 302.30°)
OKLaboklab(48.93% 0.0317 -0.2017)
OKLCHoklch(48.93% 0.204 278.9)
XYZxyz(16.6115, 10.4222, 60.1557)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F45CF #C5CF45
analogous
#4580CF #4F45CF #9445CF
triadic
#4F45CF #CF4F45 #45CF4F
tetradic
#4F45CF #CF4580 #C5CF45 #45CF94
square
#4F45CF #CF4580 #C5CF45 #45CF94
split-complementary
#4F45CF #CF9445 #80CF45
monochromatic
#26207A #352CAB #4F45CF #7D76DC #ABA6E8

Accessibility & contrast

On white

6.81
#4F45CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#4F45CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F45CF
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F45CF#FFFFFF#000000##FFFFFF
##4F45CF1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D3
Deuteranopia (green-blind)
#0055CC
Tritanopia (blue-blind)
#006984
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4f45cf;
/* rgb */ color: rgb(79, 69, 207);
/* oklch */ color: oklch(48.9% 0.204 278.9);
Tailwind
colors: {
  custom: {
    50: '#8e7adf',
    500: '#4f45cf',
    950: '#000000',
  },
}
SCSS
$custom: #4f45cf;
$custom-light: #8e7adf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f45cf",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 244.348,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48925,
    "c": 0.20422,
    "h": 278.9
  },
  "luminance": 0.10424
}

Semantic roles & 50–950 ramp

primary
#4F45CF
secondary
#D1D59B
accent
#E246D7
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4F45CF

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

Preview Lab → · Contrast checker → · Palette generator →

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