#4239B2#4239B2

#4239B2 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.5% C 0.184 H 278.8°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#4239B2
RGBrgb(66, 57, 178)
HSLhsl(244, 51%, 46%)
HSVhsv(244, 68%, 70%)
CMYKcmyk(62.9%, 68%, 0%, 30.2%)
CIE-LABlab(32.48, 40.08, -63.04)
CIE-LCHlch(32.48, 74.71, 302.45°)
OKLaboklab(43.48% 0.0282 -0.1818)
OKLCHoklch(43.48% 0.184 278.8)
XYZxyz(11.7432, 7.2979, 42.9007)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239B2 #A9B239
analogous
#396CB2 #4239B2 #7E39B2
triadic
#4239B2 #B24239 #39B242
tetradic
#4239B2 #B2396C #A9B239 #39B27E
square
#4239B2 #B2396C #A9B239 #39B27E
split-complementary
#4239B2 #B27E39 #6CB239
monochromatic
#201B55 #312A84 #4239B2 #655DCB #918BDA

Accessibility & contrast

On white

8.54
#4239B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4239B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4239B2
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4239B2#FFFFFF#000000##FFFFFF
##4239B21.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4239b2;
/* rgb */ color: rgb(66, 57, 178);
/* oklch */ color: oklch(43.5% 0.184 278.8);
Tailwind
colors: {
  custom: {
    50: '#8470ca',
    500: '#4239b2',
    950: '#000000',
  },
}
SCSS
$custom: #4239b2;
$custom-light: #8470ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4239b2",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 244.463,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43483,
    "c": 0.18393,
    "h": 278.8
  },
  "luminance": 0.07299
}

Semantic roles & 50–950 ramp

primary
#4239B2
secondary
#C0C482
accent
#DB4DD0
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4239B2

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

Preview Lab → · Contrast checker → · Palette generator →

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