#4229C5#4229C5

#4229C5 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.2% C 0.223 H 278.8°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#4229C5
RGBrgb(66, 41, 197)
HSLhsl(250, 66%, 47%)
HSVhsv(250, 79%, 77%)
CMYKcmyk(66.5%, 79.2%, 0%, 22.7%)
CIE-LABlab(31.29, 54.55, -76.22)
CIE-LCHlch(31.29, 93.73, 305.59°)
OKLaboklab(43.2% 0.0343 -0.2201)
OKLCHoklch(43.2% 0.223 278.8)
XYZxyz(13.1145, 6.7742, 53.4289)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4229C5 #ACC529
analogous
#295EC5 #4229C5 #9029C5
triadic
#4229C5 #C54229 #29C542
tetradic
#4229C5 #C5295E #ACC529 #29C590
square
#4229C5 #C5295E #ACC529 #29C590
split-complementary
#4229C5 #C59029 #5EC529
monochromatic
#201460 #311E92 #4229C5 #6751DB #9383E5

Accessibility & contrast

On white

8.92
#4229C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4229C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4229C5
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4229C5#FFFFFF#000000##FFFFFF
##4229C51.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC9
Deuteranopia (green-blind)
#0043C2
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4229c5;
/* rgb */ color: rgb(66, 41, 197);
/* oklch */ color: oklch(43.2% 0.223 278.8);
Tailwind
colors: {
  custom: {
    50: '#8968d8',
    500: '#4229c5',
    950: '#000000',
  },
}
SCSS
$custom: #4229c5;
$custom-light: #8968d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4229c5",
  "rgb": {
    "r": 66,
    "g": 41,
    "b": 197
  },
  "hsl": {
    "h": 249.615,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43199,
    "c": 0.22278,
    "h": 278.8
  },
  "luminance": 0.06775
}

Semantic roles & 50–950 ramp

primary
#4229C5
secondary
#C1CE7C
accent
#E83FCD
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #4229C5

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

Preview Lab → · Contrast checker → · Palette generator →

#4229C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva