#4029BA#4029BA

#4029BA is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.9% C 0.211 H 279.4°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#4029BA
RGBrgb(64, 41, 186)
HSLhsl(250, 64%, 45%)
HSVhsv(250, 78%, 73%)
CMYKcmyk(65.6%, 78%, 0%, 27.1%)
CIE-LABlab(29.96, 51.09, -71.93)
CIE-LCHlch(29.96, 88.23, 305.39°)
OKLaboklab(41.89% 0.0345 -0.2077)
OKLCHoklch(41.89% 0.211 279.4)
XYZxyz(11.7674, 6.2201, 47.0253)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4029BA #A3BA29
analogous
#295BBA #4029BA #8929BA
triadic
#4029BA #BA4029 #29BA40
tetradic
#4029BA #BA295B #A3BA29 #29BA89
square
#4029BA #BA295B #A3BA29 #29BA89
split-complementary
#4029BA #BA8929 #5BBA29
monochromatic
#1D1356 #2F1E88 #4029BA #6049D7 #8C7BE2

Accessibility & contrast

On white

9.36
#4029BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4029BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4029BA
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4029BA#FFFFFF#000000##FFFFFF
##4029BA1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBE
Deuteranopia (green-blind)
#0041B7
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4029ba;
/* rgb */ color: rgb(64, 41, 186);
/* oklch */ color: oklch(41.9% 0.211 279.4);
Tailwind
colors: {
  custom: {
    50: '#8567d0',
    500: '#4029ba',
    950: '#000000',
  },
}
SCSS
$custom: #4029ba;
$custom-light: #8567d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4029ba",
  "rgb": {
    "r": 64,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 249.517,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4189,
    "c": 0.21055,
    "h": 279.4
  },
  "luminance": 0.06221
}

Semantic roles & 50–950 ramp

primary
#4029BA
secondary
#BDCA75
accent
#E741CD
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0614
muted
#7D7A83

Preview Lab

Preview with #4029BA

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

Preview Lab → · Contrast checker → · Palette generator →

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