#4239AE#4239AE

#4239AE is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.1% C 0.179 H 279.2°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#4239AE
RGBrgb(66, 57, 174)
HSLhsl(245, 51%, 45%)
HSVhsv(245, 67%, 68%)
CMYKcmyk(62.1%, 67.2%, 0%, 31.8%)
CIE-LABlab(32.12, 38.78, -61.24)
CIE-LCHlch(32.12, 72.48, 302.34°)
OKLaboklab(43.12% 0.0287 -0.1765)
OKLCHoklch(43.12% 0.179 279.2)
XYZxyz(11.3474, 7.1396, 40.8163)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239AE #A5AE39
analogous
#396BAE #4239AE #7C39AE
triadic
#4239AE #AE4239 #39AE42
tetradic
#4239AE #AE396B #A5AE39 #39AE7C
square
#4239AE #AE396B #A5AE39 #39AE7C
split-complementary
#4239AE #AE7C39 #6BAE39
monochromatic
#1F1B52 #312A80 #4239AE #635BC9 #8F89D8

Accessibility & contrast

On white

8.65
#4239AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4239AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4239AE
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4239AE#FFFFFF#000000##FFFFFF
##4239AE1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0047AC
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4239ae;
/* rgb */ color: rgb(66, 57, 174);
/* oklch */ color: oklch(43.1% 0.179 279.2);
Tailwind
colors: {
  custom: {
    50: '#8370c7',
    500: '#4239ae',
    950: '#000000',
  },
}
SCSS
$custom: #4239ae;
$custom-light: #8370c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4239ae",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 244.615,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43119,
    "c": 0.17879,
    "h": 279.2
  },
  "luminance": 0.0714
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4239AE

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

Preview Lab → · Contrast checker → · Palette generator →

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