#4239B5#4239B5

#4239B5 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.8% C 0.188 H 278.5°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#4239B5
RGBrgb(66, 57, 181)
HSLhsl(244, 52%, 47%)
HSVhsv(244, 69%, 71%)
CMYKcmyk(63.5%, 68.5%, 0%, 29%)
CIE-LABlab(32.74, 41.06, -64.39)
CIE-LCHlch(32.74, 76.36, 302.53°)
OKLaboklab(43.76% 0.0278 -0.1857)
OKLCHoklch(43.76% 0.188 278.5)
XYZxyz(12.0477, 7.4197, 44.5044)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239B5 #ACB539
analogous
#396EB5 #4239B5 #8039B5
triadic
#4239B5 #B54239 #39B542
tetradic
#4239B5 #B5396E #ACB539 #39B580
square
#4239B5 #B5396E #ACB539 #39B580
split-complementary
#4239B5 #B58039 #6EB539
monochromatic
#201C58 #312A86 #4239B5 #675FCD #938DDB

Accessibility & contrast

On white

8.45
#4239B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4239B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4239B5
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4239B5#FFFFFF#000000##FFFFFF
##4239B51.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0048B3
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4239b5;
/* rgb */ color: rgb(66, 57, 181);
/* oklch */ color: oklch(43.8% 0.188 278.5);
Tailwind
colors: {
  custom: {
    50: '#8470cc',
    500: '#4239b5',
    950: '#000000',
  },
}
SCSS
$custom: #4239b5;
$custom-light: #8470cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4239b5",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 244.355,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43758,
    "c": 0.18775,
    "h": 278.5
  },
  "luminance": 0.07421
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4239B5

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

Preview Lab → · Contrast checker → · Palette generator →

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