#4239D1#4239D1

#4239D1 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.4% C 0.222 H 276.0°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#4239D1
RGBrgb(66, 57, 209)
HSLhsl(244, 62%, 52%)
HSVhsv(244, 73%, 82%)
CMYKcmyk(68.4%, 72.7%, 0%, 18%)
CIE-LABlab(35.37, 50.05, -76.46)
CIE-LCHlch(35.37, 91.39, 303.20°)
OKLaboklab(46.44% 0.0231 -0.221)
OKLCHoklch(46.44% 0.222 276)
XYZxyz(15.2147, 8.6866, 61.1841)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239D1 #C8D139
analogous
#397CD1 #4239D1 #8E39D1
triadic
#4239D1 #D14239 #39D142
tetradic
#4239D1 #D1397C #C8D139 #39D18E
square
#4239D1 #D1397C #C8D139 #39D18E
split-complementary
#4239D1 #D18E39 #7CD139
monochromatic
#201B75 #2E27A6 #4239D1 #716BDD #A19CE8

Accessibility & contrast

On white

7.67
#4239D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#4239D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4239D1
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4239D1#FFFFFF#000000##FFFFFF
##4239D11.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD5
Deuteranopia (green-blind)
#004CCE
Tritanopia (blue-blind)
#006482
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4239d1;
/* rgb */ color: rgb(66, 57, 209);
/* oklch */ color: oklch(46.4% 0.222 276.0);
Tailwind
colors: {
  custom: {
    50: '#8a71e0',
    500: '#4239d1',
    950: '#000000',
  },
}
SCSS
$custom: #4239d1;
$custom-light: #8a71e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4239d1",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 209
  },
  "hsl": {
    "h": 243.553,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.46436,
    "c": 0.22219,
    "h": 276
  },
  "luminance": 0.08688
}

Semantic roles & 50–950 ramp

primary
#4239D1
secondary
#D0D492
accent
#E542DC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4239D1

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

Preview Lab → · Contrast checker → · Palette generator →

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