#4231AC#4231AC

#4231AC is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.7% C 0.185 H 281.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#4231AC
RGBrgb(66, 49, 172)
HSLhsl(248, 56%, 43%)
HSVhsv(248, 72%, 67%)
CMYKcmyk(61.6%, 71.5%, 0%, 32.5%)
CIE-LABlab(30.24, 42.80, -63.13)
CIE-LCHlch(30.24, 76.27, 304.13°)
OKLaboklab(41.71% 0.0353 -0.182)
OKLCHoklch(41.71% 0.185 281)
XYZxyz(10.7891, 6.3327, 39.6755)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4231AC #9BAC31
analogous
#315DAC #4231AC #7F31AC
triadic
#4231AC #AC4231 #31AC42
tetradic
#4231AC #AC315D #9BAC31 #31AC7F
square
#4231AC #AC315D #9BAC31 #31AC7F
split-complementary
#4231AC #AC7F31 #5DAC31
monochromatic
#1D164D #30237C #4231AC #5F4ECC #8A7DDA

Accessibility & contrast

On white

9.26
#4231AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4231AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4231AC
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4231AC#FFFFFF#000000##FFFFFF
##4231AC1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#0043AA
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4231ac;
/* rgb */ color: rgb(66, 49, 172);
/* oklch */ color: oklch(41.7% 0.185 281.0);
Tailwind
colors: {
  custom: {
    50: '#836bc6',
    500: '#4231ac',
    950: '#000000',
  },
}
SCSS
$custom: #4231ac;
$custom-light: #836bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4231ac",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 248.293,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41709,
    "c": 0.18541,
    "h": 281
  },
  "luminance": 0.06333
}

Semantic roles & 50–950 ramp

primary
#4231AC
secondary
#B8C376
accent
#DF49CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4231AC

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

Preview Lab → · Contrast checker → · Palette generator →

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