#4231C6#4231C6

#4231C6 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.3% C 0.217 H 277.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#4231C6
RGBrgb(66, 49, 198)
HSLhsl(247, 60%, 48%)
HSVhsv(247, 75%, 78%)
CMYKcmyk(66.7%, 75.3%, 0%, 22.4%)
CIE-LABlab(32.77, 50.89, -74.36)
CIE-LCHlch(32.77, 90.11, 304.39°)
OKLaboklab(44.27% 0.0298 -0.2148)
OKLCHoklch(44.27% 0.217 277.9)
XYZxyz(13.5348, 7.4309, 54.1362)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4231C6 #B5C631
analogous
#316AC6 #4231C6 #8C31C6
triadic
#4231C6 #C64231 #31C642
tetradic
#4231C6 #C6316A #B5C631 #31C68C
square
#4231C6 #C6316A #B5C631 #31C68C
split-complementary
#4231C6 #C68C31 #6AC631
monochromatic
#211964 #322595 #4231C6 #6B5DD7 #988EE3

Accessibility & contrast

On white

8.45
#4231C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4231C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4231C6
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4231C6#FFFFFF#000000##FFFFFF
##4231C61.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CA
Deuteranopia (green-blind)
#0047C3
Tritanopia (blue-blind)
#005C7A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4231c6;
/* rgb */ color: rgb(66, 49, 198);
/* oklch */ color: oklch(44.3% 0.217 277.9);
Tailwind
colors: {
  custom: {
    50: '#886cd9',
    500: '#4231c6',
    950: '#000000',
  },
}
SCSS
$custom: #4231c6;
$custom-light: #886cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4231c6",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 198
  },
  "hsl": {
    "h": 246.846,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44266,
    "c": 0.21686,
    "h": 277.9
  },
  "luminance": 0.07432
}

Semantic roles & 50–950 ramp

primary
#4231C6
secondary
#C5CE85
accent
#E344D1
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4231C6

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

Preview Lab → · Contrast checker → · Palette generator →

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