#4231C4#4231C4

#4231C4 is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 44.1% C 0.214 H 278.1°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#4231C4
RGBrgb(66, 49, 196)
HSLhsl(247, 60%, 48%)
HSVhsv(247, 75%, 77%)
CMYKcmyk(66.3%, 75%, 0%, 23.1%)
CIE-LABlab(32.57, 50.28, -73.52)
CIE-LCHlch(32.57, 89.07, 304.37°)
OKLaboklab(44.06% 0.0303 -0.2123)
OKLCHoklch(44.06% 0.215 278.1)
XYZxyz(13.3057, 7.3393, 52.9293)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4231C4 #B3C431
analogous
#3169C4 #4231C4 #8B31C4
triadic
#4231C4 #C44231 #31C442
tetradic
#4231C4 #C43169 #B3C431 #31C48B
square
#4231C4 #C43169 #B3C431 #31C48B
split-complementary
#4231C4 #C48B31 #69C431
monochromatic
#211962 #322593 #4231C4 #6A5CD6 #978DE2

Accessibility & contrast

On white

8.51
#4231C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4231C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4231C4
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4231C4#FFFFFF#000000##FFFFFF
##4231C41.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C8
Deuteranopia (green-blind)
#0046C1
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4231c4;
/* rgb */ color: rgb(66, 49, 196);
/* oklch */ color: oklch(44.1% 0.214 278.1);
Tailwind
colors: {
  custom: {
    50: '#886cd7',
    500: '#4231c4',
    950: '#000000',
  },
}
SCSS
$custom: #4231c4;
$custom-light: #886cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4231c4",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 196
  },
  "hsl": {
    "h": 246.939,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44064,
    "c": 0.2145,
    "h": 278.1
  },
  "luminance": 0.0734
}

Semantic roles & 50–950 ramp

primary
#4231C4
secondary
#C4CD84
accent
#E345D1
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4231C4

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

Preview Lab → · Contrast checker → · Palette generator →

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