#4239AD#4239AD

#4239AD is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.0% C 0.177 H 279.3°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#4239AD
RGBrgb(66, 57, 173)
HSLhsl(245, 50%, 45%)
HSVhsv(245, 67%, 68%)
CMYKcmyk(61.8%, 67.1%, 0%, 32.2%)
CIE-LABlab(32.04, 38.45, -60.78)
CIE-LCHlch(32.04, 71.92, 302.31°)
OKLaboklab(43.03% 0.0288 -0.1751)
OKLCHoklch(43.03% 0.178 279.3)
XYZxyz(11.2503, 7.1008, 40.3048)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239AD #A4AD39
analogous
#396AAD #4239AD #7C39AD
triadic
#4239AD #AD4239 #39AD42
tetradic
#4239AD #AD396A #A4AD39 #39AD7C
square
#4239AD #AD396A #A4AD39 #39AD7C
split-complementary
#4239AD #AD7C39 #6AAD39
monochromatic
#1F1B51 #302A7F #4239AD #635AC9 #8F88D8

Accessibility & contrast

On white

8.68
#4239AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4239AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4239AD#FFFFFF#000000##FFFFFF
##4239AD1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#0047AB
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4239ad;
/* rgb */ color: rgb(66, 57, 173);
/* oklch */ color: oklch(43.0% 0.177 279.3);
Tailwind
colors: {
  custom: {
    50: '#8370c6',
    500: '#4239ad',
    950: '#000000',
  },
}
SCSS
$custom: #4239ad;
$custom-light: #8370c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4239ad",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 173
  },
  "hsl": {
    "h": 244.655,
    "s": 50.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43029,
    "c": 0.1775,
    "h": 279.3
  },
  "luminance": 0.07102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4239AD

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

Preview Lab → · Contrast checker → · Palette generator →

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