#4239C7#4239C7

#4239C7 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.5% C 0.210 H 276.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#4239C7
RGBrgb(66, 57, 199)
HSLhsl(244, 56%, 50%)
HSVhsv(244, 71%, 78%)
CMYKcmyk(66.8%, 71.4%, 0%, 22%)
CIE-LABlab(34.41, 46.87, -72.24)
CIE-LCHlch(34.41, 86.11, 302.98°)
OKLaboklab(45.46% 0.0249 -0.2087)
OKLCHoklch(45.46% 0.21 276.8)
XYZxyz(14.0153, 8.2068, 54.8672)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239C7 #BEC739
analogous
#3977C7 #4239C7 #8939C7
triadic
#4239C7 #C74239 #39C742
tetradic
#4239C7 #C73977 #BEC739 #39C789
square
#4239C7 #C73977 #BEC739 #39C789
split-complementary
#4239C7 #C78939 #77C739
monochromatic
#221D68 #322B98 #4239C7 #7069D4 #9D98E2

Accessibility & contrast

On white

7.95
#4239C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4239C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4239C7
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4239C7#FFFFFF#000000##FFFFFF
##4239C71.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CB
Deuteranopia (green-blind)
#004BC4
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4239c7;
/* rgb */ color: rgb(66, 57, 199);
/* oklch */ color: oklch(45.5% 0.210 276.8);
Tailwind
colors: {
  custom: {
    50: '#8871d9',
    500: '#4239c7',
    950: '#000000',
  },
}
SCSS
$custom: #4239c7;
$custom-light: #8871d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4239c7",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 199
  },
  "hsl": {
    "h": 243.803,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45459,
    "c": 0.21014,
    "h": 276.8
  },
  "luminance": 0.08208
}

Semantic roles & 50–950 ramp

primary
#4239C7
secondary
#CACE8E
accent
#DF49D6
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4239C7

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

Preview Lab → · Contrast checker → · Palette generator →

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