#4029B6#4029B6

#4029B6 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.5% C 0.206 H 279.9°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#4029B6
RGBrgb(64, 41, 182)
HSLhsl(250, 63%, 44%)
HSVhsv(250, 77%, 71%)
CMYKcmyk(64.8%, 77.5%, 0%, 28.6%)
CIE-LABlab(29.54, 49.89, -70.25)
CIE-LCHlch(29.54, 86.16, 305.38°)
OKLaboklab(41.48% 0.0355 -0.2028)
OKLCHoklch(41.48% 0.206 279.9)
XYZxyz(11.3481, 6.0524, 44.8171)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4029B6 #9FB629
analogous
#2958B6 #4029B6 #8629B6
triadic
#4029B6 #B64029 #29B640
tetradic
#4029B6 #B62958 #9FB629 #29B686
square
#4029B6 #B62958 #9FB629 #29B686
split-complementary
#4029B6 #B68629 #58B629
monochromatic
#1D1252 #2E1E84 #4029B6 #5E47D5 #8A79E1

Accessibility & contrast

On white

9.50
#4029B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4029B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4029B6
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4029B6#FFFFFF#000000##FFFFFF
##4029B61.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBA
Deuteranopia (green-blind)
#0040B3
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4029b6;
/* rgb */ color: rgb(64, 41, 182);
/* oklch */ color: oklch(41.5% 0.206 279.9);
Tailwind
colors: {
  custom: {
    50: '#8567cd',
    500: '#4029b6',
    950: '#000000',
  },
}
SCSS
$custom: #4029b6;
$custom-light: #8567cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4029b6",
  "rgb": {
    "r": 64,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 249.787,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41475,
    "c": 0.20588,
    "h": 279.9
  },
  "luminance": 0.06053
}

Semantic roles & 50–950 ramp

primary
#4029B6
secondary
#BBC972
accent
#E642CB
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #4029B6

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

Preview Lab → · Contrast checker → · Palette generator →

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