#4C30DA#4C30DA

#4C30DA is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.9% C 0.239 H 279.4°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#4C30DA
RGBrgb(76, 48, 218)
HSLhsl(250, 70%, 52%)
HSVhsv(250, 78%, 85%)
CMYKcmyk(65.1%, 78%, 0%, 14.5%)
CIE-LABlab(35.42, 58.33, -81.55)
CIE-LCHlch(35.42, 100.27, 305.58°)
OKLaboklab(46.93% 0.0391 -0.2355)
OKLCHoklch(46.93% 0.239 279.4)
XYZxyz(16.6883, 8.7110, 67.1180)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C30DA #BEDA30
analogous
#3069DA #4C30DA #A130DA
triadic
#4C30DA #DA4C30 #30DA4C
tetradic
#4C30DA #DA3069 #BEDA30 #30DAA1
square
#4C30DA #DA3069 #BEDA30 #30DAA1
split-complementary
#4C30DA #DAA130 #69DA30
monochromatic
#26167A #371FAE #4C30DA #7964E3 #A698ED

Accessibility & contrast

On white

7.66
#4C30DA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4C30DA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C30DA
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C30DA#FFFFFF#000000##FFFFFF
##4C30DA1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ADF
Deuteranopia (green-blind)
#004DD7
Tritanopia (blue-blind)
#006385
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4c30da;
/* rgb */ color: rgb(76, 48, 218);
/* oklch */ color: oklch(46.9% 0.239 279.4);
Tailwind
colors: {
  custom: {
    50: '#906de7',
    500: '#4c30da',
    950: '#000000',
  },
}
SCSS
$custom: #4c30da;
$custom-light: #906de7;
$custom-dark: #000000;
JSON
{
  "hex": "#4c30da",
  "rgb": {
    "r": 76,
    "g": 48,
    "b": 218
  },
  "hsl": {
    "h": 249.882,
    "s": 69.672,
    "l": 52.157
  },
  "oklch": {
    "l": 0.46928,
    "c": 0.23871,
    "h": 279.4
  },
  "luminance": 0.08712
}

Semantic roles & 50–950 ramp

primary
#4C30DA
secondary
#CCD88E
accent
#EC3BCF
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #4C30DA

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

Preview Lab → · Contrast checker → · Palette generator →

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