#4029C7#4029C7

#4029C7 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.3% C 0.225 H 277.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#4029C7
RGBrgb(64, 41, 199)
HSLhsl(249, 66%, 47%)
HSVhsv(249, 79%, 78%)
CMYKcmyk(67.8%, 79.4%, 0%, 22%)
CIE-LABlab(31.34, 54.95, -77.30)
CIE-LCHlch(31.34, 94.84, 305.41°)
OKLaboklab(43.26% 0.0309 -0.2233)
OKLCHoklch(43.26% 0.225 277.9)
XYZxyz(13.2128, 6.7982, 54.6376)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4029C7 #B0C729
analogous
#2961C7 #4029C7 #8F29C7
triadic
#4029C7 #C74029 #29C740
tetradic
#4029C7 #C72961 #B0C729 #29C78F
square
#4029C7 #C72961 #B0C729 #29C78F
split-complementary
#4029C7 #C78F29 #61C729
monochromatic
#1F1462 #301F94 #4029C7 #6652DB #9385E6

Accessibility & contrast

On white

8.90
#4029C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4029C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4029C7
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4029C7#FFFFFF#000000##FFFFFF
##4029C71.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CB
Deuteranopia (green-blind)
#0043C4
Tritanopia (blue-blind)
#005978
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4029c7;
/* rgb */ color: rgb(64, 41, 199);
/* oklch */ color: oklch(43.3% 0.225 277.9);
Tailwind
colors: {
  custom: {
    50: '#8868d9',
    500: '#4029c7',
    950: '#000000',
  },
}
SCSS
$custom: #4029c7;
$custom-light: #8868d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4029c7",
  "rgb": {
    "r": 64,
    "g": 41,
    "b": 199
  },
  "hsl": {
    "h": 248.734,
    "s": 65.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43261,
    "c": 0.22546,
    "h": 277.9
  },
  "luminance": 0.06799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4029C7

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

Preview Lab → · Contrast checker → · Palette generator →

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