#4239B8#4239B8

#4239B8 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 44.0% C 0.192 H 278.2°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#4239B8
RGBrgb(66, 57, 184)
HSLhsl(244, 53%, 47%)
HSVhsv(244, 69%, 72%)
CMYKcmyk(64.1%, 69%, 0%, 27.8%)
CIE-LABlab(33.02, 42.04, -65.72)
CIE-LCHlch(33.02, 78.01, 302.61°)
OKLaboklab(44.04% 0.0273 -0.1896)
OKLCHoklch(44.04% 0.192 278.2)
XYZxyz(12.3588, 7.5442, 46.1430)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239B8 #AFB839
analogous
#3970B8 #4239B8 #8239B8
triadic
#4239B8 #B84239 #39B842
tetradic
#4239B8 #B83970 #AFB839 #39B882
square
#4239B8 #B83970 #AFB839 #39B882
split-complementary
#4239B8 #B88239 #70B839
monochromatic
#201C5B #312B89 #4239B8 #6860CE #958FDC

Accessibility & contrast

On white

8.37
#4239B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4239B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4239B8
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4239B8#FFFFFF#000000##FFFFFF
##4239B81.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0048B6
Tritanopia (blue-blind)
#005B74
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4239b8;
/* rgb */ color: rgb(66, 57, 184);
/* oklch */ color: oklch(44.0% 0.192 278.2);
Tailwind
colors: {
  custom: {
    50: '#8571ce',
    500: '#4239b8',
    950: '#000000',
  },
}
SCSS
$custom: #4239b8;
$custom-light: #8571ce;
$custom-dark: #000000;
JSON
{
  "hex": "#4239b8",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 244.252,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44036,
    "c": 0.19155,
    "h": 278.2
  },
  "luminance": 0.07545
}

Semantic roles & 50–950 ramp

primary
#4239B8
secondary
#C2C786
accent
#DC4CD2
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #4239B8

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

Preview Lab → · Contrast checker → · Palette generator →

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