#4F45CD#4F45CD

#4F45CD is a mid, highly saturated blue. Relative luminance 0.103; OKLCH L 48.7% C 0.202 H 279.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#4F45CD
RGBrgb(79, 69, 205)
HSLhsl(244, 58%, 54%)
HSVhsv(244, 66%, 80%)
CMYKcmyk(61.5%, 66.3%, 0%, 19.6%)
CIE-LABlab(38.42, 43.61, -69.11)
CIE-LCHlch(38.42, 81.72, 302.25°)
OKLaboklab(48.75% 0.032 -0.1992)
OKLCHoklch(48.75% 0.202 279.1)
XYZxyz(16.3685, 10.3250, 58.8761)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F45CD #C3CD45
analogous
#457FCD #4F45CD #9345CD
triadic
#4F45CD #CD4F45 #45CD4F
tetradic
#4F45CD #CD457F #C3CD45 #45CD93
square
#4F45CD #CD457F #C3CD45 #45CD93
split-complementary
#4F45CD #CD9345 #7FCD45
monochromatic
#272077 #362DA8 #4F45CD #7D75DA #AAA5E7

Accessibility & contrast

On white

6.85
#4F45CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4F45CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F45CD
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F45CD#FFFFFF#000000##FFFFFF
##4F45CD1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0055CA
Tritanopia (blue-blind)
#006883
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4f45cd;
/* rgb */ color: rgb(79, 69, 205);
/* oklch */ color: oklch(48.7% 0.202 279.1);
Tailwind
colors: {
  custom: {
    50: '#8e7add',
    500: '#4f45cd',
    950: '#000000',
  },
}
SCSS
$custom: #4f45cd;
$custom-light: #8e7add;
$custom-dark: #000000;
JSON
{
  "hex": "#4f45cd",
  "rgb": {
    "r": 79,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 244.412,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48749,
    "c": 0.20171,
    "h": 279.1
  },
  "luminance": 0.10326
}

Semantic roles & 50–950 ramp

primary
#4F45CD
secondary
#D0D49A
accent
#E147D6
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4F45CD

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

Preview Lab → · Contrast checker → · Palette generator →

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