#4029BD#4029BD

#4029BD is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.2% C 0.214 H 279.0°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#4029BD
RGBrgb(64, 41, 189)
HSLhsl(249, 64%, 45%)
HSVhsv(249, 78%, 74%)
CMYKcmyk(66.1%, 78.3%, 0%, 25.9%)
CIE-LABlab(30.28, 51.99, -73.19)
CIE-LCHlch(30.28, 89.77, 305.39°)
OKLaboklab(42.2% 0.0336 -0.2114)
OKLCHoklch(42.2% 0.214 279)
XYZxyz(12.0897, 6.3490, 48.7226)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4029BD #A6BD29
analogous
#295CBD #4029BD #8A29BD
triadic
#4029BD #BD4029 #29BD40
tetradic
#4029BD #BD295C #A6BD29 #29BD8A
square
#4029BD #BD295C #A6BD29 #29BD8A
split-complementary
#4029BD #BD8A29 #5CBD29
monochromatic
#1E1358 #2F1E8B #4029BD #614BD8 #8D7DE3

Accessibility & contrast

On white

9.25
#4029BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4029BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4029BD
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4029BD#FFFFFF#000000##FFFFFF
##4029BD1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC1
Deuteranopia (green-blind)
#0041BA
Tritanopia (blue-blind)
#005573
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4029bd;
/* rgb */ color: rgb(64, 41, 189);
/* oklch */ color: oklch(42.2% 0.214 279.0);
Tailwind
colors: {
  custom: {
    50: '#8667d2',
    500: '#4029bd',
    950: '#000000',
  },
}
SCSS
$custom: #4029bd;
$custom-light: #8667d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4029bd",
  "rgb": {
    "r": 64,
    "g": 41,
    "b": 189
  },
  "hsl": {
    "h": 249.324,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42203,
    "c": 0.21402,
    "h": 279
  },
  "luminance": 0.0635
}

Semantic roles & 50–950 ramp

primary
#4029BD
secondary
#BECB77
accent
#E740CD
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4029BD

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

Preview Lab → · Contrast checker → · Palette generator →

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