#4030C4#4030C4

#4030C4 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.8% C 0.216 H 277.5°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#4030C4
RGBrgb(64, 48, 196)
HSLhsl(246, 61%, 48%)
HSVhsv(246, 76%, 77%)
CMYKcmyk(67.3%, 75.5%, 0%, 23.1%)
CIE-LABlab(32.23, 50.59, -74.08)
CIE-LCHlch(32.23, 89.70, 304.33°)
OKLaboklab(43.79% 0.0282 -0.214)
OKLCHoklch(43.79% 0.216 277.5)
XYZxyz(13.1319, 7.1883, 52.9093)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4030C4 #B4C430
analogous
#306AC4 #4030C4 #8A30C4
triadic
#4030C4 #C44030 #30C440
tetradic
#4030C4 #C4306A #B4C430 #30C48A
square
#4030C4 #C4306A #B4C430 #30C48A
split-complementary
#4030C4 #C48A30 #6AC430
monochromatic
#201862 #302493 #4030C4 #685AD7 #958CE3

Accessibility & contrast

On white

8.61
#4030C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4030C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4030C4
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4030C4#FFFFFF#000000##FFFFFF
##4030C41.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C8
Deuteranopia (green-blind)
#0046C1
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4030c4;
/* rgb */ color: rgb(64, 48, 196);
/* oklch */ color: oklch(43.8% 0.216 277.5);
Tailwind
colors: {
  custom: {
    50: '#876bd7',
    500: '#4030c4',
    950: '#000000',
  },
}
SCSS
$custom: #4030c4;
$custom-light: #876bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4030c4",
  "rgb": {
    "r": 64,
    "g": 48,
    "b": 196
  },
  "hsl": {
    "h": 246.486,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43789,
    "c": 0.21586,
    "h": 277.5
  },
  "luminance": 0.07189
}

Semantic roles & 50–950 ramp

primary
#4030C4
secondary
#C5CD83
accent
#E444D3
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4030C4

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

Preview Lab → · Contrast checker → · Palette generator →

#4030C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva