#4239D2#4239D2

#4239D2 is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.5% C 0.223 H 275.9°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#4239D2
RGBrgb(66, 57, 210)
HSLhsl(244, 63%, 52%)
HSVhsv(244, 73%, 82%)
CMYKcmyk(68.6%, 72.9%, 0%, 17.6%)
CIE-LABlab(35.47, 50.36, -76.88)
CIE-LCHlch(35.47, 91.91, 303.23°)
OKLaboklab(46.53% 0.0229 -0.2222)
OKLCHoklch(46.53% 0.223 275.9)
XYZxyz(15.3389, 8.7362, 61.8382)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239D2 #C9D239
analogous
#397DD2 #4239D2 #8E39D2
triadic
#4239D2 #D24239 #39D242
tetradic
#4239D2 #D2397D #C9D239 #39D28E
square
#4239D2 #D2397D #C9D239 #39D28E
split-complementary
#4239D2 #D28E39 #7DD239
monochromatic
#201B76 #2E26A8 #4239D2 #726BDD #A19DE9

Accessibility & contrast

On white

7.64
#4239D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4239D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4239D2
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4239D2#FFFFFF#000000##FFFFFF
##4239D21.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD6
Deuteranopia (green-blind)
#004DCF
Tritanopia (blue-blind)
#006582
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4239d2;
/* rgb */ color: rgb(66, 57, 210);
/* oklch */ color: oklch(46.5% 0.223 275.9);
Tailwind
colors: {
  custom: {
    50: '#8a72e1',
    500: '#4239d2',
    950: '#000000',
  },
}
SCSS
$custom: #4239d2;
$custom-light: #8a72e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4239d2",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 210
  },
  "hsl": {
    "h": 243.529,
    "s": 62.963,
    "l": 52.353
  },
  "oklch": {
    "l": 0.46534,
    "c": 0.22338,
    "h": 275.9
  },
  "luminance": 0.08738
}

Semantic roles & 50–950 ramp

primary
#4239D2
secondary
#D1D592
accent
#E642DC
background
#F9F7FE
surface
#F2EDFC
border
#CCC8D5
text
#0D0815
muted
#7E7B84

Preview Lab

Preview with #4239D2

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

Preview Lab → · Contrast checker → · Palette generator →

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