#4239AA#4239AA

#4239AA is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.174 H 279.7°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#4239AA
RGBrgb(66, 57, 170)
HSLhsl(245, 50%, 45%)
HSVhsv(245, 66%, 67%)
CMYKcmyk(61.2%, 66.5%, 0%, 33.3%)
CIE-LABlab(31.77, 37.46, -59.41)
CIE-LCHlch(31.77, 70.24, 302.23°)
OKLaboklab(42.76% 0.0292 -0.1711)
OKLCHoklch(42.76% 0.174 279.7)
XYZxyz(10.9633, 6.9860, 38.7931)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239AA #A1AA39
analogous
#3968AA #4239AA #7B39AA
triadic
#4239AA #AA4239 #39AA42
tetradic
#4239AA #AA3968 #A1AA39 #39AA7B
square
#4239AA #AA3968 #A1AA39 #39AA7B
split-complementary
#4239AA #AA7B39 #68AA39
monochromatic
#1E1A4E #302A7C #4239AA #6259C7 #8D87D7

Accessibility & contrast

On white

8.76
#4239AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4239AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4239AA#FFFFFF#000000##FFFFFF
##4239AA1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0046A8
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4239aa;
/* rgb */ color: rgb(66, 57, 170);
/* oklch */ color: oklch(42.8% 0.174 279.7);
Tailwind
colors: {
  custom: {
    50: '#8270c4',
    500: '#4239aa',
    950: '#000000',
  },
}
SCSS
$custom: #4239aa;
$custom-light: #8270c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4239aa",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 170
  },
  "hsl": {
    "h": 244.779,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4276,
    "c": 0.17359,
    "h": 279.7
  },
  "luminance": 0.06987
}

Semantic roles & 50–950 ramp

primary
#4239AA
secondary
#BBC17E
accent
#D94ECE
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4239AA

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

Preview Lab → · Contrast checker → · Palette generator →

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