#4239A5#4239A5

#4239A5 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.167 H 280.3°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#4239A5
RGBrgb(66, 57, 165)
HSLhsl(245, 49%, 44%)
HSVhsv(245, 65%, 65%)
CMYKcmyk(60%, 65.5%, 0%, 35.3%)
CIE-LABlab(31.35, 35.82, -57.11)
CIE-LCHlch(31.35, 67.41, 302.10°)
OKLaboklab(42.32% 0.0297 -0.1644)
OKLCHoklch(42.32% 0.167 280.3)
XYZxyz(10.4993, 6.8004, 36.3494)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239A5 #9CA539
analogous
#3966A5 #4239A5 #7839A5
triadic
#4239A5 #A54239 #39A542
tetradic
#4239A5 #A53966 #9CA539 #39A578
square
#4239A5 #A53966 #9CA539 #39A578
split-complementary
#4239A5 #A57839 #66A539
monochromatic
#1E1A4A #302978 #4239A5 #6056C5 #8B84D4

Accessibility & contrast

On white

8.90
#4239A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4239A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4239A5#FFFFFF#000000##FFFFFF
##4239A51.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0046A3
Tritanopia (blue-blind)
#00546A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4239a5;
/* rgb */ color: rgb(66, 57, 165);
/* oklch */ color: oklch(42.3% 0.167 280.3);
Tailwind
colors: {
  custom: {
    50: '#8170c1',
    500: '#4239a5',
    950: '#000000',
  },
}
SCSS
$custom: #4239a5;
$custom-light: #8170c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4239a5",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 165
  },
  "hsl": {
    "h": 245,
    "s": 48.649,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42318,
    "c": 0.16703,
    "h": 280.3
  },
  "luminance": 0.06801
}

Semantic roles & 50–950 ramp

primary
#4239A5
secondary
#B9BE7B
accent
#D850CD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #4239A5

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

Preview Lab → · Contrast checker → · Palette generator →

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