#4231C7#4231C7

#4231C7 is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.4% C 0.218 H 277.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#4231C7
RGBrgb(66, 49, 199)
HSLhsl(247, 60%, 49%)
HSVhsv(247, 75%, 78%)
CMYKcmyk(66.8%, 75.4%, 0%, 22%)
CIE-LABlab(32.87, 51.20, -74.78)
CIE-LCHlch(32.87, 90.63, 304.40°)
OKLaboklab(44.37% 0.0296 -0.216)
OKLCHoklch(44.37% 0.218 277.8)
XYZxyz(13.6505, 7.4772, 54.7456)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4231C7 #B6C731
analogous
#316BC7 #4231C7 #8D31C7
triadic
#4231C7 #C74231 #31C742
tetradic
#4231C7 #C7316B #B6C731 #31C78D
square
#4231C7 #C7316B #B6C731 #31C78D
split-complementary
#4231C7 #C78D31 #6BC731
monochromatic
#211965 #322596 #4231C7 #6C5ED7 #998FE3

Accessibility & contrast

On white

8.41
#4231C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4231C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4231C7
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4231C7#FFFFFF#000000##FFFFFF
##4231C71.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CB
Deuteranopia (green-blind)
#0047C4
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4231c7;
/* rgb */ color: rgb(66, 49, 199);
/* oklch */ color: oklch(44.4% 0.218 277.8);
Tailwind
colors: {
  custom: {
    50: '#886cd9',
    500: '#4231c7',
    950: '#000000',
  },
}
SCSS
$custom: #4231c7;
$custom-light: #886cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4231c7",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 199
  },
  "hsl": {
    "h": 246.8,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44367,
    "c": 0.21804,
    "h": 277.8
  },
  "luminance": 0.07478
}

Semantic roles & 50–950 ramp

primary
#4231C7
secondary
#C6CE86
accent
#E444D2
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4231C7

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

Preview Lab → · Contrast checker → · Palette generator →

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