#4030C9#4030C9

#4030C9 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.3% C 0.222 H 277.0°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#4030C9
RGBrgb(64, 48, 201)
HSLhsl(246, 61%, 49%)
HSVhsv(246, 76%, 79%)
CMYKcmyk(68.2%, 76.1%, 0%, 21.2%)
CIE-LABlab(32.74, 52.12, -76.16)
CIE-LCHlch(32.74, 92.29, 304.39°)
OKLaboklab(44.3% 0.027 -0.2201)
OKLCHoklch(44.3% 0.222 277)
XYZxyz(13.7105, 7.4197, 55.9566)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4030C9 #B9C930
analogous
#306CC9 #4030C9 #8D30C9
triadic
#4030C9 #C94030 #30C940
tetradic
#4030C9 #C9306C #B9C930 #30C98D
square
#4030C9 #C9306C #B9C930 #30C98D
split-complementary
#4030C9 #C98D30 #6CC930
monochromatic
#211866 #302498 #4030C9 #6B5ED8 #988FE4

Accessibility & contrast

On white

8.45
#4030C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4030C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4030C9
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4030C9#FFFFFF#000000##FFFFFF
##4030C91.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CD
Deuteranopia (green-blind)
#0046C6
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4030c9;
/* rgb */ color: rgb(64, 48, 201);
/* oklch */ color: oklch(44.3% 0.222 277.0);
Tailwind
colors: {
  custom: {
    50: '#886cdb',
    500: '#4030c9',
    950: '#000000',
  },
}
SCSS
$custom: #4030c9;
$custom-light: #886cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4030c9",
  "rgb": {
    "r": 64,
    "g": 48,
    "b": 201
  },
  "hsl": {
    "h": 246.275,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44302,
    "c": 0.22173,
    "h": 277
  },
  "luminance": 0.07421
}

Semantic roles & 50–950 ramp

primary
#4030C9
secondary
#C7CF86
accent
#E543D4
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4030C9

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

Preview Lab → · Contrast checker → · Palette generator →

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