#4029B8#4029B8

#4029B8 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.7% C 0.208 H 279.7°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#4029B8
RGBrgb(64, 41, 184)
HSLhsl(250, 64%, 44%)
HSVhsv(250, 78%, 72%)
CMYKcmyk(65.2%, 77.7%, 0%, 27.8%)
CIE-LABlab(29.75, 50.50, -71.09)
CIE-LCHlch(29.75, 87.20, 305.38°)
OKLaboklab(41.68% 0.035 -0.2053)
OKLCHoklch(41.68% 0.208 279.7)
XYZxyz(11.5563, 6.1356, 45.9134)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4029B8 #A1B829
analogous
#295AB8 #4029B8 #8829B8
triadic
#4029B8 #B84029 #29B840
tetradic
#4029B8 #B8295A #A1B829 #29B888
square
#4029B8 #B8295A #A1B829 #29B888
split-complementary
#4029B8 #B88829 #5AB829
monochromatic
#1D1354 #2F1E86 #4029B8 #5F48D6 #8B7AE1

Accessibility & contrast

On white

9.43
#4029B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4029B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4029B8
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4029B8#FFFFFF#000000##FFFFFF
##4029B81.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBC
Deuteranopia (green-blind)
#0040B5
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4029b8;
/* rgb */ color: rgb(64, 41, 184);
/* oklch */ color: oklch(41.7% 0.208 279.7);
Tailwind
colors: {
  custom: {
    50: '#8567cf',
    500: '#4029b8',
    950: '#000000',
  },
}
SCSS
$custom: #4029b8;
$custom-light: #8567cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4029b8",
  "rgb": {
    "r": 64,
    "g": 41,
    "b": 184
  },
  "hsl": {
    "h": 249.65,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41682,
    "c": 0.20822,
    "h": 279.7
  },
  "luminance": 0.06137
}

Semantic roles & 50–950 ramp

primary
#4029B8
secondary
#BCC973
accent
#E741CC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0614
muted
#7D7A82

Preview Lab

Preview with #4029B8

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

Preview Lab → · Contrast checker → · Palette generator →

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