#4732CA#4732CA

#4732CA is a mid, highly saturated blue. Relative luminance 0.079; OKLCH L 45.2% C 0.220 H 279.2°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#4732CA
RGBrgb(71, 50, 202)
HSLhsl(248, 60%, 49%)
HSVhsv(248, 75%, 79%)
CMYKcmyk(64.9%, 75.2%, 0%, 20.8%)
CIE-LABlab(33.74, 52.13, -75.08)
CIE-LCHlch(33.74, 91.40, 304.77°)
OKLaboklab(45.17% 0.0351 -0.2168)
OKLCHoklch(45.17% 0.22 279.2)
XYZxyz(14.3964, 7.8839, 56.6287)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4732CA #B5CA32
analogous
#3269CA #4732CA #9332CA
triadic
#4732CA #CA4732 #32CA47
tetradic
#4732CA #CA3269 #B5CA32 #32CA93
square
#4732CA #CA3269 #B5CA32 #32CA93
split-complementary
#4732CA #CA9332 #69CA32
monochromatic
#251A68 #362699 #4732CA #7261D8 #9E92E4

Accessibility & contrast

On white

8.15
#4732CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4732CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4732CA
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4732CA#FFFFFF#000000##FFFFFF
##4732CA1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CE
Deuteranopia (green-blind)
#0049C7
Tritanopia (blue-blind)
#005E7C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4732ca;
/* rgb */ color: rgb(71, 50, 202);
/* oklch */ color: oklch(45.2% 0.220 279.2);
Tailwind
colors: {
  custom: {
    50: '#8b6ddb',
    500: '#4732ca',
    950: '#000000',
  },
}
SCSS
$custom: #4732ca;
$custom-light: #8b6ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#4732ca",
  "rgb": {
    "r": 71,
    "g": 50,
    "b": 202
  },
  "hsl": {
    "h": 248.289,
    "s": 60.317,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45168,
    "c": 0.2196,
    "h": 279.2
  },
  "luminance": 0.07885
}

Semantic roles & 50–950 ramp

primary
#4732CA
secondary
#C5CF89
accent
#E344CD
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4732CA

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

Preview Lab → · Contrast checker → · Palette generator →

#4732CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva