#4239C6#4239C6

#4239C6 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.4% C 0.209 H 276.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#4239C6
RGBrgb(66, 57, 198)
HSLhsl(244, 55%, 50%)
HSVhsv(244, 71%, 78%)
CMYKcmyk(66.7%, 71.2%, 0%, 22.4%)
CIE-LABlab(34.31, 46.55, -71.81)
CIE-LCHlch(34.31, 85.58, 302.95°)
OKLaboklab(45.36% 0.0251 -0.2074)
OKLCHoklch(45.36% 0.209 276.9)
XYZxyz(13.8996, 8.1605, 54.2578)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239C6 #BDC639
analogous
#3976C6 #4239C6 #8939C6
triadic
#4239C6 #C64239 #39C642
tetradic
#4239C6 #C63976 #BDC639 #39C689
square
#4239C6 #C63976 #BDC639 #39C689
split-complementary
#4239C6 #C68939 #76C639
monochromatic
#221E67 #322B96 #4239C6 #6F69D4 #9D98E1

Accessibility & contrast

On white

7.98
#4239C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4239C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4239C6
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4239C6#FFFFFF#000000##FFFFFF
##4239C61.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4239c6;
/* rgb */ color: rgb(66, 57, 198);
/* oklch */ color: oklch(45.4% 0.209 276.9);
Tailwind
colors: {
  custom: {
    50: '#8771d9',
    500: '#4239c6',
    950: '#000000',
  },
}
SCSS
$custom: #4239c6;
$custom-light: #8771d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4239c6",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 198
  },
  "hsl": {
    "h": 243.83,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.45363,
    "c": 0.20892,
    "h": 276.9
  },
  "luminance": 0.08162
}

Semantic roles & 50–950 ramp

primary
#4239C6
secondary
#C9CD8E
accent
#DF49D5
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4239C6

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

Preview Lab → · Contrast checker → · Palette generator →

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