#4029C5#4029C5

#4029C5 is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 43.0% C 0.223 H 278.1°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#4029C5
RGBrgb(64, 41, 197)
HSLhsl(249, 66%, 47%)
HSVhsv(249, 79%, 77%)
CMYKcmyk(67.5%, 79.2%, 0%, 22.7%)
CIE-LABlab(31.13, 54.36, -76.49)
CIE-LCHlch(31.13, 93.84, 305.40°)
OKLaboklab(43.05% 0.0315 -0.221)
OKLCHoklch(43.05% 0.223 278.1)
XYZxyz(12.9821, 6.7060, 53.4227)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4029C5 #AEC529
analogous
#2960C5 #4029C5 #8E29C5
triadic
#4029C5 #C54029 #29C540
tetradic
#4029C5 #C52960 #AEC529 #29C58E
square
#4029C5 #C52960 #AEC529 #29C58E
split-complementary
#4029C5 #C58E29 #60C529
monochromatic
#1F1460 #301E92 #4029C5 #6551DB #9283E5

Accessibility & contrast

On white

8.97
#4029C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4029C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4029C5
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4029C5#FFFFFF#000000##FFFFFF
##4029C51.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC9
Deuteranopia (green-blind)
#0043C2
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4029c5;
/* rgb */ color: rgb(64, 41, 197);
/* oklch */ color: oklch(43.0% 0.223 278.1);
Tailwind
colors: {
  custom: {
    50: '#8867d8',
    500: '#4029c5',
    950: '#000000',
  },
}
SCSS
$custom: #4029c5;
$custom-light: #8867d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4029c5",
  "rgb": {
    "r": 64,
    "g": 41,
    "b": 197
  },
  "hsl": {
    "h": 248.846,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43048,
    "c": 0.22319,
    "h": 278.1
  },
  "luminance": 0.06707
}

Semantic roles & 50–950 ramp

primary
#4029C5
secondary
#C2CE7C
accent
#E83FD0
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #4029C5

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

Preview Lab → · Contrast checker → · Palette generator →

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