#4239C1#4239C1

#4239C1 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.9% C 0.203 H 277.3°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#4239C1
RGBrgb(66, 57, 193)
HSLhsl(244, 54%, 49%)
HSVhsv(244, 70%, 76%)
CMYKcmyk(65.8%, 70.5%, 0%, 24.3%)
CIE-LABlab(33.84, 44.95, -69.66)
CIE-LCHlch(33.84, 82.90, 302.83°)
OKLaboklab(44.88% 0.0259 -0.2011)
OKLCHoklch(44.88% 0.203 277.3)
XYZxyz(13.3324, 7.9336, 51.2705)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239C1 #B8C139
analogous
#3974C1 #4239C1 #8639C1
triadic
#4239C1 #C14239 #39C142
tetradic
#4239C1 #C13974 #B8C139 #39C186
square
#4239C1 #C13974 #B8C139 #39C186
split-complementary
#4239C1 #C18639 #74C139
monochromatic
#221D63 #322B92 #4239C1 #6D66D2 #9A95E0

Accessibility & contrast

On white

8.12
#4239C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4239C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4239C1
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4239C1#FFFFFF#000000##FFFFFF
##4239C11.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C5
Deuteranopia (green-blind)
#004ABE
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4239c1;
/* rgb */ color: rgb(66, 57, 193);
/* oklch */ color: oklch(44.9% 0.203 277.3);
Tailwind
colors: {
  custom: {
    50: '#8671d5',
    500: '#4239c1',
    950: '#000000',
  },
}
SCSS
$custom: #4239c1;
$custom-light: #8671d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4239c1",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 193
  },
  "hsl": {
    "h": 243.971,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.44884,
    "c": 0.20278,
    "h": 277.3
  },
  "luminance": 0.07935
}

Semantic roles & 50–950 ramp

primary
#4239C1
secondary
#C7CB8B
accent
#DE4AD4
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0D0814
muted
#7D7B83

Preview Lab

Preview with #4239C1

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

Preview Lab → · Contrast checker → · Palette generator →

#4239C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva