#4239CC#4239CC

#4239CC is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.9% C 0.216 H 276.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#4239CC
RGBrgb(66, 57, 204)
HSLhsl(244, 59%, 51%)
HSVhsv(244, 72%, 80%)
CMYKcmyk(67.6%, 72.1%, 0%, 20%)
CIE-LABlab(34.89, 48.46, -74.36)
CIE-LCHlch(34.89, 88.76, 303.09°)
OKLaboklab(45.95% 0.024 -0.2149)
OKLCHoklch(45.95% 0.216 276.4)
XYZxyz(14.6054, 8.4428, 57.9750)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239CC #C3CC39
analogous
#3979CC #4239CC #8B39CC
triadic
#4239CC #CC4239 #39CC42
tetradic
#4239CC #CC3979 #C3CC39 #39CC8B
square
#4239CC #CC3979 #C3CC39 #39CC8B
split-complementary
#4239CC #CC8B39 #79CC39
monochromatic
#211C6E #30299F #4239CC #706AD9 #9F9AE5

Accessibility & contrast

On white

7.81
#4239CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4239CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4239CC
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4239CC#FFFFFF#000000##FFFFFF
##4239CC1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D0
Deuteranopia (green-blind)
#004CC9
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4239cc;
/* rgb */ color: rgb(66, 57, 204);
/* oklch */ color: oklch(45.9% 0.216 276.4);
Tailwind
colors: {
  custom: {
    50: '#8971dd',
    500: '#4239cc',
    950: '#000000',
  },
}
SCSS
$custom: #4239cc;
$custom-light: #8971dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4239cc",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 243.673,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45945,
    "c": 0.21621,
    "h": 276.4
  },
  "luminance": 0.08444
}

Semantic roles & 50–950 ramp

primary
#4239CC
secondary
#CDD190
accent
#E246D9
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4239CC

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

Preview Lab → · Contrast checker → · Palette generator →

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