#4A37C8#4A37C8

#4A37C8 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.9% C 0.212 H 279.9°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#4A37C8
RGBrgb(74, 55, 200)
HSLhsl(248, 57%, 50%)
HSVhsv(248, 73%, 78%)
CMYKcmyk(63%, 72.5%, 0%, 21.6%)
CIE-LABlab(34.72, 49.25, -72.30)
CIE-LCHlch(34.72, 87.48, 304.26°)
OKLaboklab(45.86% 0.0365 -0.2086)
OKLCHoklch(45.86% 0.212 279.9)
XYZxyz(14.6122, 8.3572, 55.4755)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A37C8 #B5C837
analogous
#376DC8 #4A37C8 #9237C8
triadic
#4A37C8 #C84A37 #37C84A
tetradic
#4A37C8 #C8376D #B5C837 #37C892
square
#4A37C8 #C8376D #B5C837 #37C892
split-complementary
#4A37C8 #C89237 #6DC837
monochromatic
#261D68 #382A98 #4A37C8 #7567D5 #A197E2

Accessibility & contrast

On white

7.86
#4A37C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4A37C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A37C8
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A37C8#FFFFFF#000000##FFFFFF
##4A37C81.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CC
Deuteranopia (green-blind)
#004CC5
Tritanopia (blue-blind)
#005F7C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4a37c8;
/* rgb */ color: rgb(74, 55, 200);
/* oklch */ color: oklch(45.9% 0.212 279.9);
Tailwind
colors: {
  custom: {
    50: '#8c70da',
    500: '#4a37c8',
    950: '#000000',
  },
}
SCSS
$custom: #4a37c8;
$custom-light: #8c70da;
$custom-dark: #000000;
JSON
{
  "hex": "#4a37c8",
  "rgb": {
    "r": 74,
    "g": 55,
    "b": 200
  },
  "hsl": {
    "h": 247.862,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.4586,
    "c": 0.21177,
    "h": 279.9
  },
  "luminance": 0.08358
}

Semantic roles & 50–950 ramp

primary
#4A37C8
secondary
#C5CE8D
accent
#E048CC
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4A37C8

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

Preview Lab → · Contrast checker → · Palette generator →

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