#4239B0#4239B0

#4239B0 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.3% C 0.181 H 279.0°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#4239B0
RGBrgb(66, 57, 176)
HSLhsl(245, 51%, 46%)
HSVhsv(245, 68%, 69%)
CMYKcmyk(62.5%, 67.6%, 0%, 31%)
CIE-LABlab(32.30, 39.43, -62.14)
CIE-LCHlch(32.30, 73.60, 302.40°)
OKLaboklab(43.3% 0.0285 -0.1791)
OKLCHoklch(43.3% 0.181 279)
XYZxyz(11.5439, 7.2182, 41.8508)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239B0 #A7B039
analogous
#396BB0 #4239B0 #7D39B0
triadic
#4239B0 #B04239 #39B042
tetradic
#4239B0 #B0396B #A7B039 #39B07D
square
#4239B0 #B0396B #A7B039 #39B07D
split-complementary
#4239B0 #B07D39 #6BB039
monochromatic
#1F1B54 #312A82 #4239B0 #645CCA #908AD9

Accessibility & contrast

On white

8.59
#4239B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4239B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4239B0#FFFFFF#000000##FFFFFF
##4239B01.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0047AE
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4239b0;
/* rgb */ color: rgb(66, 57, 176);
/* oklch */ color: oklch(43.3% 0.181 279.0);
Tailwind
colors: {
  custom: {
    50: '#8370c9',
    500: '#4239b0',
    950: '#000000',
  },
}
SCSS
$custom: #4239b0;
$custom-light: #8370c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4239b0",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 176
  },
  "hsl": {
    "h": 244.538,
    "s": 51.073,
    "l": 45.686
  },
  "oklch": {
    "l": 0.433,
    "c": 0.18137,
    "h": 279
  },
  "luminance": 0.07219
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4239B0

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

Preview Lab → · Contrast checker → · Palette generator →

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