#4239C3#4239C3

#4239C3 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.1% C 0.205 H 277.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#4239C3
RGBrgb(66, 57, 195)
HSLhsl(244, 55%, 49%)
HSVhsv(244, 71%, 76%)
CMYKcmyk(66.2%, 70.8%, 0%, 23.5%)
CIE-LABlab(34.03, 45.59, -70.52)
CIE-LCHlch(34.03, 83.97, 302.88°)
OKLaboklab(45.08% 0.0256 -0.2036)
OKLCHoklch(45.08% 0.205 277.2)
XYZxyz(13.5570, 8.0235, 52.4534)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239C3 #BAC339
analogous
#3975C3 #4239C3 #8739C3
triadic
#4239C3 #C34239 #39C342
tetradic
#4239C3 #C33975 #BAC339 #39C387
square
#4239C3 #C33975 #BAC339 #39C387
split-complementary
#4239C3 #C38739 #75C339
monochromatic
#221D64 #322B94 #4239C3 #6E67D2 #9B96E0

Accessibility & contrast

On white

8.06
#4239C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4239C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4239C3
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4239C3#FFFFFF#000000##FFFFFF
##4239C31.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C7
Deuteranopia (green-blind)
#004AC0
Tritanopia (blue-blind)
#005F7A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4239c3;
/* rgb */ color: rgb(66, 57, 195);
/* oklch */ color: oklch(45.1% 0.205 277.2);
Tailwind
colors: {
  custom: {
    50: '#8771d6',
    500: '#4239c3',
    950: '#000000',
  },
}
SCSS
$custom: #4239c3;
$custom-light: #8771d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4239c3",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 195
  },
  "hsl": {
    "h": 243.913,
    "s": 54.762,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45075,
    "c": 0.20525,
    "h": 277.2
  },
  "luminance": 0.08025
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4239C3

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

Preview Lab → · Contrast checker → · Palette generator →

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