#4029C6#4029C6

#4029C6 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.2% C 0.224 H 278.0°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#4029C6
RGBrgb(64, 41, 198)
HSLhsl(249, 66%, 47%)
HSVhsv(249, 79%, 78%)
CMYKcmyk(67.7%, 79.3%, 0%, 22.4%)
CIE-LABlab(31.24, 54.65, -76.90)
CIE-LCHlch(31.24, 94.34, 305.40°)
OKLaboklab(43.15% 0.0312 -0.2221)
OKLCHoklch(43.15% 0.224 278)
XYZxyz(13.0970, 6.7519, 54.0282)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4029C6 #AFC629
analogous
#2961C6 #4029C6 #8F29C6
triadic
#4029C6 #C64029 #29C640
tetradic
#4029C6 #C62961 #AFC629 #29C68F
square
#4029C6 #C62961 #AFC629 #29C68F
split-complementary
#4029C6 #C68F29 #61C629
monochromatic
#1F1461 #301F93 #4029C6 #6551DB #9284E6

Accessibility & contrast

On white

8.93
#4029C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4029C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4029C6
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4029C6#FFFFFF#000000##FFFFFF
##4029C61.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CA
Deuteranopia (green-blind)
#0043C3
Tritanopia (blue-blind)
#005978
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4029c6;
/* rgb */ color: rgb(64, 41, 198);
/* oklch */ color: oklch(43.2% 0.224 278.0);
Tailwind
colors: {
  custom: {
    50: '#8868d9',
    500: '#4029c6',
    950: '#000000',
  },
}
SCSS
$custom: #4029c6;
$custom-light: #8868d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4029c6",
  "rgb": {
    "r": 64,
    "g": 41,
    "b": 198
  },
  "hsl": {
    "h": 248.79,
    "s": 65.69,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43154,
    "c": 0.22433,
    "h": 278
  },
  "luminance": 0.06753
}

Semantic roles & 50–950 ramp

primary
#4029C6
secondary
#C3CF7C
accent
#E93FD0
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #4029C6

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

Preview Lab → · Contrast checker → · Palette generator →

#4029C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva