#4A2FD8#4A2FD8

#4A2FD8 is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 46.5% C 0.238 H 279.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#4A2FD8
RGBrgb(74, 47, 216)
HSLhsl(250, 68%, 52%)
HSVhsv(250, 78%, 85%)
CMYKcmyk(65.7%, 78.2%, 0%, 15.3%)
CIE-LABlab(34.89, 58.03, -81.28)
CIE-LCHlch(34.89, 99.87, 305.53°)
OKLaboklab(46.46% 0.0373 -0.2347)
OKLCHoklch(46.46% 0.238 279)
XYZxyz(16.2313, 8.4454, 65.7272)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2FD8 #BDD82F
analogous
#2F69D8 #4A2FD8 #9F2FD8
triadic
#4A2FD8 #D84A2F #2FD84A
tetradic
#4A2FD8 #D82F69 #BDD82F #2FD89F
square
#4A2FD8 #D82F69 #BDD82F #2FD89F
split-complementary
#4A2FD8 #D89F2F #69D82F
monochromatic
#261676 #3620AA #4A2FD8 #7763E2 #A496EB

Accessibility & contrast

On white

7.81
#4A2FD8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4A2FD8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2FD8
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2FD8#FFFFFF#000000##FFFFFF
##4A2FD81.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058DD
Deuteranopia (green-blind)
#004BD5
Tritanopia (blue-blind)
#006283
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4a2fd8;
/* rgb */ color: rgb(74, 47, 216);
/* oklch */ color: oklch(46.5% 0.238 279.0);
Tailwind
colors: {
  custom: {
    50: '#8f6ce6',
    500: '#4a2fd8',
    950: '#000000',
  },
}
SCSS
$custom: #4a2fd8;
$custom-light: #8f6ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2fd8",
  "rgb": {
    "r": 74,
    "g": 47,
    "b": 216
  },
  "hsl": {
    "h": 249.586,
    "s": 68.421,
    "l": 51.569
  },
  "oklch": {
    "l": 0.46459,
    "c": 0.23768,
    "h": 279
  },
  "luminance": 0.08447
}

Semantic roles & 50–950 ramp

primary
#4A2FD8
secondary
#CBD78C
accent
#EB3DCF
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #4A2FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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