#4239AC#4239AC

#4239AC is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.176 H 279.5°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#4239AC
RGBrgb(66, 57, 172)
HSLhsl(245, 50%, 45%)
HSVhsv(245, 67%, 67%)
CMYKcmyk(61.6%, 66.9%, 0%, 32.5%)
CIE-LABlab(31.95, 38.12, -60.33)
CIE-LCHlch(31.95, 71.36, 302.29°)
OKLaboklab(42.94% 0.029 -0.1738)
OKLCHoklch(42.94% 0.176 279.5)
XYZxyz(11.1539, 7.0622, 39.7971)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239AC #A3AC39
analogous
#3969AC #4239AC #7C39AC
triadic
#4239AC #AC4239 #39AC42
tetradic
#4239AC #AC3969 #A3AC39 #39AC7C
square
#4239AC #AC3969 #A3AC39 #39AC7C
split-complementary
#4239AC #AC7C39 #69AC39
monochromatic
#1F1B50 #302A7E #4239AC #635AC8 #8E88D8

Accessibility & contrast

On white

8.70
#4239AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4239AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4239AC
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4239AC#FFFFFF#000000##FFFFFF
##4239AC1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0047AA
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4239ac;
/* rgb */ color: rgb(66, 57, 172);
/* oklch */ color: oklch(42.9% 0.176 279.5);
Tailwind
colors: {
  custom: {
    50: '#8270c6',
    500: '#4239ac',
    950: '#000000',
  },
}
SCSS
$custom: #4239ac;
$custom-light: #8270c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4239ac",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 244.696,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42939,
    "c": 0.17619,
    "h": 279.5
  },
  "luminance": 0.07063
}

Semantic roles & 50–950 ramp

primary
#4239AC
secondary
#BCC27F
accent
#DA4ECF
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4239AC

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

Preview Lab → · Contrast checker → · Palette generator →

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