#4F45CE#4F45CE

#4F45CE is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 48.8% C 0.203 H 279.0°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#4F45CE
RGBrgb(79, 69, 206)
HSLhsl(244, 58%, 54%)
HSVhsv(244, 67%, 81%)
CMYKcmyk(61.7%, 66.5%, 0%, 19.2%)
CIE-LABlab(38.50, 43.93, -69.55)
CIE-LCHlch(38.50, 82.26, 302.28°)
OKLaboklab(48.84% 0.0318 -0.2004)
OKLCHoklch(48.84% 0.203 279)
XYZxyz(16.4896, 10.3735, 59.5139)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F45CE #C4CE45
analogous
#4580CE #4F45CE #9445CE
triadic
#4F45CE #CE4F45 #45CE4F
tetradic
#4F45CE #CE4580 #C4CE45 #45CE94
square
#4F45CE #CE4580 #C4CE45 #45CE94
split-complementary
#4F45CE #CE9445 #80CE45
monochromatic
#262079 #362DA9 #4F45CE #7D75DB #ABA6E8

Accessibility & contrast

On white

6.83
#4F45CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4F45CE
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F45CE#FFFFFF#000000##FFFFFF
##4F45CE1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f45ce;
/* rgb */ color: rgb(79, 69, 206);
/* oklch */ color: oklch(48.8% 0.203 279.0);
Tailwind
colors: {
  custom: {
    50: '#8e7ade',
    500: '#4f45ce',
    950: '#000000',
  },
}
SCSS
$custom: #4f45ce;
$custom-light: #8e7ade;
$custom-dark: #000000;
JSON
{
  "hex": "#4f45ce",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 244.38,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48837,
    "c": 0.20296,
    "h": 279
  },
  "luminance": 0.10375
}

Semantic roles & 50–950 ramp

primary
#4F45CE
secondary
#D0D59A
accent
#E246D6
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4F45CE

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

Preview Lab → · Contrast checker → · Palette generator →

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