#4029BC#4029BC

#4029BC is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 42.1% C 0.213 H 279.2°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#4029BC
RGBrgb(64, 41, 188)
HSLhsl(249, 64%, 45%)
HSVhsv(249, 78%, 74%)
CMYKcmyk(66%, 78.2%, 0%, 26.3%)
CIE-LABlab(30.17, 51.69, -72.77)
CIE-LCHlch(30.17, 89.26, 305.39°)
OKLaboklab(42.1% 0.0339 -0.2101)
OKLCHoklch(42.1% 0.213 279.2)
XYZxyz(11.9815, 6.3057, 48.1529)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4029BC #A5BC29
analogous
#295BBC #4029BC #8A29BC
triadic
#4029BC #BC4029 #29BC40
tetradic
#4029BC #BC295B #A5BC29 #29BC8A
square
#4029BC #BC295B #A5BC29 #29BC8A
split-complementary
#4029BC #BC8A29 #5BBC29
monochromatic
#1E1358 #2F1E8A #4029BC #614BD8 #8D7DE3

Accessibility & contrast

On white

9.29
#4029BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4029BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4029BC
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4029BC#FFFFFF#000000##FFFFFF
##4029BC1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC0
Deuteranopia (green-blind)
#0041B9
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4029bc;
/* rgb */ color: rgb(64, 41, 188);
/* oklch */ color: oklch(42.1% 0.213 279.2);
Tailwind
colors: {
  custom: {
    50: '#8667d2',
    500: '#4029bc',
    950: '#000000',
  },
}
SCSS
$custom: #4029bc;
$custom-light: #8667d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4029bc",
  "rgb": {
    "r": 64,
    "g": 41,
    "b": 188
  },
  "hsl": {
    "h": 249.388,
    "s": 64.192,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42099,
    "c": 0.21286,
    "h": 279.2
  },
  "luminance": 0.06307
}

Semantic roles & 50–950 ramp

primary
#4029BC
secondary
#BECB76
accent
#E741CD
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4029BC

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

Preview Lab → · Contrast checker → · Palette generator →

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