#4239CF#4239CF

#4239CF is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.2% C 0.220 H 276.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#4239CF
RGBrgb(66, 57, 207)
HSLhsl(244, 61%, 52%)
HSVhsv(244, 72%, 81%)
CMYKcmyk(68.1%, 72.5%, 0%, 18.8%)
CIE-LABlab(35.18, 49.41, -75.63)
CIE-LCHlch(35.18, 90.34, 303.16°)
OKLaboklab(46.24% 0.0234 -0.2185)
OKLCHoklch(46.24% 0.22 276.1)
XYZxyz(14.9687, 8.5881, 59.8882)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239CF #C6CF39
analogous
#397BCF #4239CF #8D39CF
triadic
#4239CF #CF4239 #39CF42
tetradic
#4239CF #CF397B #C6CF39 #39CF8D
square
#4239CF #CF397B #C6CF39 #39CF8D
split-complementary
#4239CF #CF8D39 #7BCF39
monochromatic
#211C72 #2F28A3 #4239CF #716ADB #A09CE7

Accessibility & contrast

On white

7.73
#4239CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4239CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4239CF
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4239CF#FFFFFF#000000##FFFFFF
##4239CF1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D3
Deuteranopia (green-blind)
#004CCC
Tritanopia (blue-blind)
#006381
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4239cf;
/* rgb */ color: rgb(66, 57, 207);
/* oklch */ color: oklch(46.2% 0.220 276.1);
Tailwind
colors: {
  custom: {
    50: '#8971df',
    500: '#4239cf',
    950: '#000000',
  },
}
SCSS
$custom: #4239cf;
$custom-light: #8971df;
$custom-dark: #000000;
JSON
{
  "hex": "#4239cf",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 207
  },
  "hsl": {
    "h": 243.6,
    "s": 60.976,
    "l": 51.765
  },
  "oklch": {
    "l": 0.46239,
    "c": 0.2198,
    "h": 276.1
  },
  "luminance": 0.08589
}

Semantic roles & 50–950 ramp

primary
#4239CF
secondary
#CFD391
accent
#E444DA
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4239CF

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

Preview Lab → · Contrast checker → · Palette generator →

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