#4935CB#4935CB

#4935CB is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.8% C 0.218 H 279.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#4935CB
RGBrgb(73, 53, 203)
HSLhsl(248, 59%, 50%)
HSVhsv(248, 74%, 80%)
CMYKcmyk(64%, 73.9%, 0%, 20.4%)
CIE-LABlab(34.55, 51.11, -74.33)
CIE-LCHlch(34.55, 90.20, 304.51°)
OKLaboklab(45.81% 0.0358 -0.2145)
OKLCHoklch(45.81% 0.218 279.5)
XYZxyz(14.7968, 8.2733, 57.3055)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4935CB #B7CB35
analogous
#356CCB #4935CB #9435CB
triadic
#4935CB #CB4935 #35CB49
tetradic
#4935CB #CB356C #B7CB35 #35CB94
square
#4935CB #CB356C #B7CB35 #35CB94
split-complementary
#4935CB #CB9435 #6CCB35
monochromatic
#261B6A #37289B #4935CB #7566D8 #A196E4

Accessibility & contrast

On white

7.91
#4935CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4935CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4935CB
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4935CB#FFFFFF#000000##FFFFFF
##4935CB1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CF
Deuteranopia (green-blind)
#004BC8
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4935cb;
/* rgb */ color: rgb(73, 53, 203);
/* oklch */ color: oklch(45.8% 0.218 279.5);
Tailwind
colors: {
  custom: {
    50: '#8c6fdc',
    500: '#4935cb',
    950: '#000000',
  },
}
SCSS
$custom: #4935cb;
$custom-light: #8c6fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4935cb",
  "rgb": {
    "r": 73,
    "g": 53,
    "b": 203
  },
  "hsl": {
    "h": 248,
    "s": 59.055,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45806,
    "c": 0.21752,
    "h": 279.5
  },
  "luminance": 0.08274
}

Semantic roles & 50–950 ramp

primary
#4935CB
secondary
#C6CF8C
accent
#E246CD
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4935CB

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

Preview Lab → · Contrast checker → · Palette generator →

#4935CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva