#4029D0#4029D0

#4029D0 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 44.2% C 0.236 H 276.9°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#4029D0
RGBrgb(64, 41, 208)
HSLhsl(248, 67%, 49%)
HSVhsv(248, 80%, 82%)
CMYKcmyk(69.2%, 80.3%, 0%, 18.4%)
CIE-LABlab(32.32, 57.58, -80.93)
CIE-LCHlch(32.32, 99.32, 305.43°)
OKLaboklab(44.23% 0.0284 -0.2339)
OKLCHoklch(44.23% 0.236 276.9)
XYZxyz(14.2888, 7.2286, 60.3045)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4029D0 #B9D029
analogous
#2966D0 #4029D0 #9429D0
triadic
#4029D0 #D04029 #29D040
tetradic
#4029D0 #D02966 #B9D029 #29D094
square
#4029D0 #D02966 #B9D029 #29D094
split-complementary
#4029D0 #D09429 #66D029
monochromatic
#21156A #301F9D #4029D0 #6B58DE #988BE8

Accessibility & contrast

On white

8.59
#4029D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4029D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4029D0
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4029D0#FFFFFF#000000##FFFFFF
##4029D01.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053D5
Deuteranopia (green-blind)
#0045CD
Tritanopia (blue-blind)
#005D7E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4029d0;
/* rgb */ color: rgb(64, 41, 208);
/* oklch */ color: oklch(44.2% 0.236 276.9);
Tailwind
colors: {
  custom: {
    50: '#8a68e0',
    500: '#4029d0',
    950: '#000000',
  },
}
SCSS
$custom: #4029d0;
$custom-light: #8a68e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4029d0",
  "rgb": {
    "r": 64,
    "g": 41,
    "b": 208
  },
  "hsl": {
    "h": 248.263,
    "s": 67.068,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44226,
    "c": 0.2356,
    "h": 276.9
  },
  "luminance": 0.0723
}

Semantic roles & 50–950 ramp

primary
#4029D0
secondary
#C7D283
accent
#EA3ED2
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4029D0

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

Preview Lab → · Contrast checker → · Palette generator →

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