#4231C3#4231C3

#4231C3 is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 44.0% C 0.213 H 278.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#4231C3
RGBrgb(66, 49, 195)
HSLhsl(247, 60%, 48%)
HSVhsv(247, 75%, 76%)
CMYKcmyk(66.2%, 74.9%, 0%, 23.5%)
CIE-LABlab(32.47, 49.97, -73.10)
CIE-LCHlch(32.47, 88.55, 304.36°)
OKLaboklab(43.96% 0.0305 -0.2111)
OKLCHoklch(43.96% 0.213 278.2)
XYZxyz(13.1922, 7.2939, 52.3318)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4231C3 #B2C331
analogous
#3169C3 #4231C3 #8B31C3
triadic
#4231C3 #C34231 #31C342
tetradic
#4231C3 #C33169 #B2C331 #31C38B
square
#4231C3 #C33169 #B2C331 #31C38B
split-complementary
#4231C3 #C38B31 #69C331
monochromatic
#211861 #312592 #4231C3 #6A5BD6 #968CE2

Accessibility & contrast

On white

8.54
#4231C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4231C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4231C3
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4231C3#FFFFFF#000000##FFFFFF
##4231C31.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C7
Deuteranopia (green-blind)
#0046C0
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4231c3;
/* rgb */ color: rgb(66, 49, 195);
/* oklch */ color: oklch(44.0% 0.213 278.2);
Tailwind
colors: {
  custom: {
    50: '#876cd6',
    500: '#4231c3',
    950: '#000000',
  },
}
SCSS
$custom: #4231c3;
$custom-light: #876cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4231c3",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 195
  },
  "hsl": {
    "h": 246.986,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43963,
    "c": 0.21332,
    "h": 278.2
  },
  "luminance": 0.07295
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4231C3

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

Preview Lab → · Contrast checker → · Palette generator →

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