#4239C5#4239C5

#4239C5 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.3% C 0.208 H 277.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#4239C5
RGBrgb(66, 57, 197)
HSLhsl(244, 55%, 50%)
HSVhsv(244, 71%, 77%)
CMYKcmyk(66.5%, 71.1%, 0%, 22.7%)
CIE-LABlab(34.22, 46.23, -71.38)
CIE-LCHlch(34.22, 85.05, 302.93°)
OKLaboklab(45.27% 0.0252 -0.2062)
OKLCHoklch(45.27% 0.208 277)
XYZxyz(13.7847, 8.1145, 53.6523)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239C5 #BCC539
analogous
#3976C5 #4239C5 #8839C5
triadic
#4239C5 #C54239 #39C542
tetradic
#4239C5 #C53976 #BCC539 #39C588
square
#4239C5 #C53976 #BCC539 #39C588
split-complementary
#4239C5 #C58839 #76C539
monochromatic
#221E66 #322B96 #4239C5 #6F68D3 #9C97E1

Accessibility & contrast

On white

8.01
#4239C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4239C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4239C5
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4239C5#FFFFFF#000000##FFFFFF
##4239C51.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C9
Deuteranopia (green-blind)
#004AC2
Tritanopia (blue-blind)
#00607B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4239c5;
/* rgb */ color: rgb(66, 57, 197);
/* oklch */ color: oklch(45.3% 0.208 277.0);
Tailwind
colors: {
  custom: {
    50: '#8771d8',
    500: '#4239c5',
    950: '#000000',
  },
}
SCSS
$custom: #4239c5;
$custom-light: #8771d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4239c5",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 197
  },
  "hsl": {
    "h": 243.857,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45267,
    "c": 0.2077,
    "h": 277
  },
  "luminance": 0.08116
}

Semantic roles & 50–950 ramp

primary
#4239C5
secondary
#C9CD8D
accent
#DE49D5
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4239C5

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

Preview Lab → · Contrast checker → · Palette generator →

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