#4231AD#4231AD

#4231AD is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.8% C 0.187 H 280.9°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#4231AD
RGBrgb(66, 49, 173)
HSLhsl(248, 56%, 44%)
HSVhsv(248, 72%, 68%)
CMYKcmyk(61.8%, 71.7%, 0%, 32.2%)
CIE-LABlab(30.33, 43.11, -63.58)
CIE-LCHlch(30.33, 76.82, 304.14°)
OKLaboklab(41.81% 0.0352 -0.1833)
OKLCHoklch(41.81% 0.187 280.9)
XYZxyz(10.8855, 6.3712, 40.1832)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4231AD #9CAD31
analogous
#315EAD #4231AD #8031AD
triadic
#4231AD #AD4231 #31AD42
tetradic
#4231AD #AD315E #9CAD31 #31AD80
square
#4231AD #AD315E #9CAD31 #31AD80
split-complementary
#4231AD #AD8031 #5EAD31
monochromatic
#1E164E #30237D #4231AD #604ECD #8B7EDA

Accessibility & contrast

On white

9.23
#4231AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4231AD
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4231AD#FFFFFF#000000##FFFFFF
##4231AD1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB1
Deuteranopia (green-blind)
#0043AB
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4231ad;
/* rgb */ color: rgb(66, 49, 173);
/* oklch */ color: oklch(41.8% 0.187 280.9);
Tailwind
colors: {
  custom: {
    50: '#836bc7',
    500: '#4231ad',
    950: '#000000',
  },
}
SCSS
$custom: #4231ad;
$custom-light: #836bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4231ad",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 173
  },
  "hsl": {
    "h": 248.226,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41805,
    "c": 0.18666,
    "h": 280.9
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

primary
#4231AD
secondary
#B9C377
accent
#DF49CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4231AD

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

Preview Lab → · Contrast checker → · Palette generator →

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