#4030C0#4030C0

#4030C0 is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.4% C 0.211 H 277.9°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#4030C0
RGBrgb(64, 48, 192)
HSLhsl(247, 60%, 47%)
HSVhsv(247, 75%, 75%)
CMYKcmyk(66.7%, 75%, 0%, 24.7%)
CIE-LABlab(31.83, 49.35, -72.40)
CIE-LCHlch(31.83, 87.62, 304.28°)
OKLaboklab(43.38% 0.0291 -0.2091)
OKLCHoklch(43.38% 0.211 277.9)
XYZxyz(12.6827, 7.0086, 50.5434)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4030C0 #B0C030
analogous
#3068C0 #4030C0 #8830C0
triadic
#4030C0 #C04030 #30C040
tetradic
#4030C0 #C03068 #B0C030 #30C088
square
#4030C0 #C03068 #B0C030 #30C088
split-complementary
#4030C0 #C08830 #68C030
monochromatic
#1F185E #30248F #4030C0 #6658D5 #9389E1

Accessibility & contrast

On white

8.74
#4030C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4030C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4030C0
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4030C0#FFFFFF#000000##FFFFFF
##4030C01.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C4
Deuteranopia (green-blind)
#0045BD
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4030c0;
/* rgb */ color: rgb(64, 48, 192);
/* oklch */ color: oklch(43.4% 0.211 277.9);
Tailwind
colors: {
  custom: {
    50: '#866bd4',
    500: '#4030c0',
    950: '#000000',
  },
}
SCSS
$custom: #4030c0;
$custom-light: #866bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4030c0",
  "rgb": {
    "r": 64,
    "g": 48,
    "b": 192
  },
  "hsl": {
    "h": 246.667,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43383,
    "c": 0.21114,
    "h": 277.9
  },
  "luminance": 0.0701
}

Semantic roles & 50–950 ramp

primary
#4030C0
secondary
#C3CB80
accent
#E345D2
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4030C0

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

Preview Lab → · Contrast checker → · Palette generator →

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