#4239C4#4239C4

#4239C4 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.2% C 0.206 H 277.1°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#4239C4
RGBrgb(66, 57, 196)
HSLhsl(244, 55%, 50%)
HSVhsv(244, 71%, 77%)
CMYKcmyk(66.3%, 70.9%, 0%, 23.1%)
CIE-LABlab(34.13, 45.91, -70.95)
CIE-LCHlch(34.13, 84.51, 302.91°)
OKLaboklab(45.17% 0.0254 -0.2049)
OKLCHoklch(45.17% 0.206 277.1)
XYZxyz(13.6705, 8.0688, 53.0509)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239C4 #BBC439
analogous
#3976C4 #4239C4 #8839C4
triadic
#4239C4 #C44239 #39C442
tetradic
#4239C4 #C43976 #BBC439 #39C488
square
#4239C4 #C43976 #BBC439 #39C488
split-complementary
#4239C4 #C48839 #76C439
monochromatic
#221D65 #322B95 #4239C4 #6E67D3 #9C97E1

Accessibility & contrast

On white

8.03
#4239C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4239C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4239C4
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4239C4#FFFFFF#000000##FFFFFF
##4239C41.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C8
Deuteranopia (green-blind)
#004AC1
Tritanopia (blue-blind)
#005F7A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4239c4;
/* rgb */ color: rgb(66, 57, 196);
/* oklch */ color: oklch(45.2% 0.206 277.1);
Tailwind
colors: {
  custom: {
    50: '#8771d7',
    500: '#4239c4',
    950: '#000000',
  },
}
SCSS
$custom: #4239c4;
$custom-light: #8771d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4239c4",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 196
  },
  "hsl": {
    "h": 243.885,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4517,
    "c": 0.20648,
    "h": 277.1
  },
  "luminance": 0.0807
}

Semantic roles & 50–950 ramp

primary
#4239C4
secondary
#C8CC8D
accent
#DE4AD5
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4239C4

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

Preview Lab → · Contrast checker → · Palette generator →

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