#4239C8#4239C8

#4239C8 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.6% C 0.211 H 276.7°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#4239C8
RGBrgb(66, 57, 200)
HSLhsl(244, 57%, 50%)
HSVhsv(244, 72%, 78%)
CMYKcmyk(67%, 71.5%, 0%, 21.6%)
CIE-LABlab(34.51, 47.19, -72.67)
CIE-LCHlch(34.51, 86.64, 303.00°)
OKLaboklab(45.56% 0.0247 -0.2099)
OKLCHoklch(45.56% 0.211 276.7)
XYZxyz(14.1318, 8.2534, 55.4807)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239C8 #BFC839
analogous
#3978C8 #4239C8 #8939C8
triadic
#4239C8 #C84239 #39C842
tetradic
#4239C8 #C83978 #BFC839 #39C889
square
#4239C8 #C83978 #BFC839 #39C889
split-complementary
#4239C8 #C88939 #78C839
monochromatic
#221D69 #322B99 #4239C8 #7069D5 #9D99E3

Accessibility & contrast

On white

7.92
#4239C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4239C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4239C8
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4239C8#FFFFFF#000000##FFFFFF
##4239C81.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CC
Deuteranopia (green-blind)
#004BC5
Tritanopia (blue-blind)
#00617D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4239c8;
/* rgb */ color: rgb(66, 57, 200);
/* oklch */ color: oklch(45.6% 0.211 276.7);
Tailwind
colors: {
  custom: {
    50: '#8871da',
    500: '#4239c8',
    950: '#000000',
  },
}
SCSS
$custom: #4239c8;
$custom-light: #8871da;
$custom-dark: #000000;
JSON
{
  "hex": "#4239c8",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 243.776,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45556,
    "c": 0.21136,
    "h": 276.7
  },
  "luminance": 0.08255
}

Semantic roles & 50–950 ramp

primary
#4239C8
secondary
#CACE8F
accent
#E048D6
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4239C8

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

Preview Lab → · Contrast checker → · Palette generator →

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