#4029BB#4029BB

#4029BB is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 42.0% C 0.212 H 279.3°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#4029BB
RGBrgb(64, 41, 187)
HSLhsl(249, 64%, 45%)
HSVhsv(249, 78%, 73%)
CMYKcmyk(65.8%, 78.1%, 0%, 26.7%)
CIE-LABlab(30.07, 51.39, -72.35)
CIE-LCHlch(30.07, 88.75, 305.39°)
OKLaboklab(41.99% 0.0342 -0.2089)
OKLCHoklch(41.99% 0.212 279.3)
XYZxyz(11.8741, 6.2627, 47.5872)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4029BB #A4BB29
analogous
#295BBB #4029BB #8929BB
triadic
#4029BB #BB4029 #29BB40
tetradic
#4029BB #BB295B #A4BB29 #29BB89
square
#4029BB #BB295B #A4BB29 #29BB89
split-complementary
#4029BB #BB8929 #5BBB29
monochromatic
#1E1357 #2F1E89 #4029BB #604AD7 #8C7CE2

Accessibility & contrast

On white

9.32
#4029BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4029BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4029BB
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4029BB#FFFFFF#000000##FFFFFF
##4029BB1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBF
Deuteranopia (green-blind)
#0041B8
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4029bb;
/* rgb */ color: rgb(64, 41, 187);
/* oklch */ color: oklch(42.0% 0.212 279.3);
Tailwind
colors: {
  custom: {
    50: '#8667d1',
    500: '#4029bb',
    950: '#000000',
  },
}
SCSS
$custom: #4029bb;
$custom-light: #8667d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4029bb",
  "rgb": {
    "r": 64,
    "g": 41,
    "b": 187
  },
  "hsl": {
    "h": 249.452,
    "s": 64.035,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41994,
    "c": 0.21171,
    "h": 279.3
  },
  "luminance": 0.06264
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4029BB

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

Preview Lab → · Contrast checker → · Palette generator →

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