#4A2FDB#4A2FDB

#4A2FDB is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.8% C 0.241 H 278.7°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#4A2FDB
RGBrgb(74, 47, 219)
HSLhsl(249, 70%, 52%)
HSVhsv(249, 79%, 86%)
CMYKcmyk(66.2%, 78.5%, 0%, 14.1%)
CIE-LABlab(35.21, 58.90, -82.49)
CIE-LCHlch(35.21, 101.36, 305.53°)
OKLaboklab(46.77% 0.0365 -0.2382)
OKLCHoklch(46.77% 0.241 278.7)
XYZxyz(16.6226, 8.6019, 67.7885)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2FDB #C0DB2F
analogous
#2F6ADB #4A2FDB #A02FDB
triadic
#4A2FDB #DB4A2F #2FDB4A
tetradic
#4A2FDB #DB2F6A #C0DB2F #2FDBA0
square
#4A2FDB #DB2F6A #C0DB2F #2FDBA0
split-complementary
#4A2FDB #DBA02F #6ADB2F
monochromatic
#25157A #351EAF #4A2FDB #7763E4 #A597ED

Accessibility & contrast

On white

7.72
#4A2FDB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4A2FDB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2FDB
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2FDB#FFFFFF#000000##FFFFFF
##4A2FDB1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059E0
Deuteranopia (green-blind)
#004CD8
Tritanopia (blue-blind)
#006385
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4a2fdb;
/* rgb */ color: rgb(74, 47, 219);
/* oklch */ color: oklch(46.8% 0.241 278.7);
Tailwind
colors: {
  custom: {
    50: '#906de8',
    500: '#4a2fdb',
    950: '#000000',
  },
}
SCSS
$custom: #4a2fdb;
$custom-light: #906de8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2fdb",
  "rgb": {
    "r": 74,
    "g": 47,
    "b": 219
  },
  "hsl": {
    "h": 249.419,
    "s": 70.492,
    "l": 52.157
  },
  "oklch": {
    "l": 0.46769,
    "c": 0.24103,
    "h": 278.7
  },
  "luminance": 0.08603
}

Semantic roles & 50–950 ramp

primary
#4A2FDB
secondary
#CDD88D
accent
#ED3BD1
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #4A2FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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