#4231C2#4231C2

#4231C2 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.9% C 0.212 H 278.3°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#4231C2
RGBrgb(66, 49, 194)
HSLhsl(247, 60%, 48%)
HSVhsv(247, 75%, 76%)
CMYKcmyk(66%, 74.7%, 0%, 23.9%)
CIE-LABlab(32.37, 49.66, -72.68)
CIE-LCHlch(32.37, 88.02, 304.35°)
OKLaboklab(43.86% 0.0307 -0.2099)
OKLCHoklch(43.86% 0.212 278.3)
XYZxyz(13.0795, 7.2488, 51.7384)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4231C2 #B1C231
analogous
#3169C2 #4231C2 #8A31C2
triadic
#4231C2 #C24231 #31C242
tetradic
#4231C2 #C23169 #B1C231 #31C28A
square
#4231C2 #C23169 #B1C231 #31C28A
split-complementary
#4231C2 #C28A31 #69C231
monochromatic
#211860 #312591 #4231C2 #695BD6 #968CE2

Accessibility & contrast

On white

8.57
#4231C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4231C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4231C2
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4231C2#FFFFFF#000000##FFFFFF
##4231C21.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C6
Deuteranopia (green-blind)
#0046BF
Tritanopia (blue-blind)
#005B77
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4231c2;
/* rgb */ color: rgb(66, 49, 194);
/* oklch */ color: oklch(43.9% 0.212 278.3);
Tailwind
colors: {
  custom: {
    50: '#876cd6',
    500: '#4231c2',
    950: '#000000',
  },
}
SCSS
$custom: #4231c2;
$custom-light: #876cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4231c2",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 194
  },
  "hsl": {
    "h": 247.034,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43863,
    "c": 0.21213,
    "h": 278.3
  },
  "luminance": 0.0725
}

Semantic roles & 50–950 ramp

primary
#4231C2
secondary
#C3CC83
accent
#E345D0
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4231C2

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

Preview Lab → · Contrast checker → · Palette generator →

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