#4231C5#4231C5

#4231C5 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.2% C 0.216 H 278.0°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#4231C5
RGBrgb(66, 49, 197)
HSLhsl(247, 60%, 48%)
HSVhsv(247, 75%, 77%)
CMYKcmyk(66.5%, 75.1%, 0%, 22.7%)
CIE-LABlab(32.67, 50.59, -73.94)
CIE-LCHlch(32.67, 89.59, 304.38°)
OKLaboklab(44.17% 0.0301 -0.2136)
OKLCHoklch(44.17% 0.216 278)
XYZxyz(13.4199, 7.3849, 53.5307)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4231C5 #B4C531
analogous
#316AC5 #4231C5 #8C31C5
triadic
#4231C5 #C54231 #31C542
tetradic
#4231C5 #C5316A #B4C531 #31C58C
square
#4231C5 #C5316A #B4C531 #31C58C
split-complementary
#4231C5 #C58C31 #6AC531
monochromatic
#211963 #322594 #4231C5 #6B5DD7 #978EE3

Accessibility & contrast

On white

8.48
#4231C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4231C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4231C5
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4231C5#FFFFFF#000000##FFFFFF
##4231C51.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C9
Deuteranopia (green-blind)
#0047C2
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4231c5;
/* rgb */ color: rgb(66, 49, 197);
/* oklch */ color: oklch(44.2% 0.216 278.0);
Tailwind
colors: {
  custom: {
    50: '#886cd8',
    500: '#4231c5',
    950: '#000000',
  },
}
SCSS
$custom: #4231c5;
$custom-light: #886cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4231c5",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 246.892,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.44165,
    "c": 0.21569,
    "h": 278
  },
  "luminance": 0.07386
}

Semantic roles & 50–950 ramp

primary
#4231C5
secondary
#C5CD85
accent
#E344D1
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4231C5

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

Preview Lab → · Contrast checker → · Palette generator →

#4231C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva