#4239B6#4239B6

#4239B6 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.9% C 0.189 H 278.4°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#4239B6
RGBrgb(66, 57, 182)
HSLhsl(244, 52%, 47%)
HSVhsv(244, 69%, 71%)
CMYKcmyk(63.7%, 68.7%, 0%, 28.6%)
CIE-LABlab(32.83, 41.39, -64.83)
CIE-LCHlch(32.83, 76.91, 302.55°)
OKLaboklab(43.85% 0.0276 -0.187)
OKLCHoklch(43.85% 0.189 278.4)
XYZxyz(12.1507, 7.4609, 45.0467)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239B6 #ADB639
analogous
#396FB6 #4239B6 #8139B6
triadic
#4239B6 #B64239 #39B642
tetradic
#4239B6 #B6396F #ADB639 #39B681
square
#4239B6 #B6396F #ADB639 #39B681
split-complementary
#4239B6 #B68139 #6FB639
monochromatic
#201C59 #312A87 #4239B6 #675FCD #938EDC

Accessibility & contrast

On white

8.43
#4239B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4239B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4239B6#FFFFFF#000000##FFFFFF
##4239B61.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0048B4
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4239b6;
/* rgb */ color: rgb(66, 57, 182);
/* oklch */ color: oklch(43.9% 0.189 278.4);
Tailwind
colors: {
  custom: {
    50: '#8470cd',
    500: '#4239b6',
    950: '#000000',
  },
}
SCSS
$custom: #4239b6;
$custom-light: #8470cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4239b6",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 182
  },
  "hsl": {
    "h": 244.32,
    "s": 52.301,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43851,
    "c": 0.18903,
    "h": 278.4
  },
  "luminance": 0.07462
}

Semantic roles & 50–950 ramp

primary
#4239B6
secondary
#C1C685
accent
#DC4CD1
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #4239B6

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

Preview Lab → · Contrast checker → · Palette generator →

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