#4239C2#4239C2

#4239C2 is a dark, highly saturated blue. Relative luminance 0.080; OKLCH L 45.0% C 0.204 H 277.2°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#4239C2
RGBrgb(66, 57, 194)
HSLhsl(244, 55%, 49%)
HSVhsv(244, 71%, 76%)
CMYKcmyk(66%, 70.6%, 0%, 23.9%)
CIE-LABlab(33.94, 45.27, -70.09)
CIE-LCHlch(33.94, 83.44, 302.86°)
OKLaboklab(44.98% 0.0257 -0.2024)
OKLCHoklch(44.98% 0.204 277.2)
XYZxyz(13.4443, 7.9784, 51.8600)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239C2 #B9C239
analogous
#3974C2 #4239C2 #8739C2
triadic
#4239C2 #C24239 #39C242
tetradic
#4239C2 #C23974 #B9C239 #39C287
square
#4239C2 #C23974 #B9C239 #39C287
split-complementary
#4239C2 #C28739 #74C239
monochromatic
#221D63 #322B93 #4239C2 #6D66D2 #9A95E0

Accessibility & contrast

On white

8.09
#4239C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4239C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4239C2
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4239C2#FFFFFF#000000##FFFFFF
##4239C21.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C6
Deuteranopia (green-blind)
#004ABF
Tritanopia (blue-blind)
#005F79
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4239c2;
/* rgb */ color: rgb(66, 57, 194);
/* oklch */ color: oklch(45.0% 0.204 277.2);
Tailwind
colors: {
  custom: {
    50: '#8771d6',
    500: '#4239c2',
    950: '#000000',
  },
}
SCSS
$custom: #4239c2;
$custom-light: #8771d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4239c2",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 243.942,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.44979,
    "c": 0.20402,
    "h": 277.2
  },
  "luminance": 0.0798
}

Semantic roles & 50–950 ramp

primary
#4239C2
secondary
#C7CB8B
accent
#DE4AD4
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4239C2

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

Preview Lab → · Contrast checker → · Palette generator →

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