#4239B1#4239B1

#4239B1 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.4% C 0.183 H 278.9°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#4239B1
RGBrgb(66, 57, 177)
HSLhsl(245, 51%, 46%)
HSVhsv(245, 68%, 69%)
CMYKcmyk(62.7%, 67.8%, 0%, 30.6%)
CIE-LABlab(32.39, 39.76, -62.59)
CIE-LCHlch(32.39, 74.15, 302.42°)
OKLaboklab(43.39% 0.0283 -0.1804)
OKLCHoklch(43.39% 0.183 278.9)
XYZxyz(11.6432, 7.2579, 42.3738)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239B1 #A8B139
analogous
#396CB1 #4239B1 #7E39B1
triadic
#4239B1 #B14239 #39B142
tetradic
#4239B1 #B1396C #A8B139 #39B17E
square
#4239B1 #B1396C #A8B139 #39B17E
split-complementary
#4239B1 #B17E39 #6CB139
monochromatic
#1F1B54 #312A83 #4239B1 #655DCB #918BDA

Accessibility & contrast

On white

8.57
#4239B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4239B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4239B1#FFFFFF#000000##FFFFFF
##4239B11.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0047AF
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4239b1;
/* rgb */ color: rgb(66, 57, 177);
/* oklch */ color: oklch(43.4% 0.183 278.9);
Tailwind
colors: {
  custom: {
    50: '#8370c9',
    500: '#4239b1',
    950: '#000000',
  },
}
SCSS
$custom: #4239b1;
$custom-light: #8370c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4239b1",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 177
  },
  "hsl": {
    "h": 244.5,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43391,
    "c": 0.18265,
    "h": 278.9
  },
  "luminance": 0.07259
}

Semantic roles & 50–950 ramp

primary
#4239B1
secondary
#BFC482
accent
#DB4DD0
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4239B1

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

Preview Lab → · Contrast checker → · Palette generator →

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