#4239CA#4239CA

#4239CA is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.8% C 0.214 H 276.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#4239CA
RGBrgb(66, 57, 202)
HSLhsl(244, 58%, 51%)
HSVhsv(244, 72%, 79%)
CMYKcmyk(67.3%, 71.8%, 0%, 20.8%)
CIE-LABlab(34.70, 47.83, -73.52)
CIE-LCHlch(34.70, 87.71, 303.05°)
OKLaboklab(45.75% 0.0244 -0.2124)
OKLCHoklch(45.75% 0.214 276.5)
XYZxyz(14.3671, 8.3475, 56.7198)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4239CA #C1CA39
analogous
#3978CA #4239CA #8A39CA
triadic
#4239CA #CA4239 #39CA42
tetradic
#4239CA #CA3978 #C1CA39 #39CA8A
square
#4239CA #CA3978 #C1CA39 #39CA8A
split-complementary
#4239CA #CA8A39 #78CA39
monochromatic
#221D6C #312A9C #4239CA #7069D7 #9E9AE4

Accessibility & contrast

On white

7.87
#4239CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4239CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4239CA
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4239CA#FFFFFF#000000##FFFFFF
##4239CA1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#004BC7
Tritanopia (blue-blind)
#00627E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4239ca;
/* rgb */ color: rgb(66, 57, 202);
/* oklch */ color: oklch(45.8% 0.214 276.5);
Tailwind
colors: {
  custom: {
    50: '#8871db',
    500: '#4239ca',
    950: '#000000',
  },
}
SCSS
$custom: #4239ca;
$custom-light: #8871db;
$custom-dark: #000000;
JSON
{
  "hex": "#4239ca",
  "rgb": {
    "r": 66,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 243.724,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.4575,
    "c": 0.21378,
    "h": 276.5
  },
  "luminance": 0.08349
}

Semantic roles & 50–950 ramp

primary
#4239CA
secondary
#CCD08F
accent
#E147D7
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4239CA

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

Preview Lab → · Contrast checker → · Palette generator →

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