#4231AE#4231AE

#4231AE is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.9% C 0.188 H 280.7°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#4231AE
RGBrgb(66, 49, 174)
HSLhsl(248, 56%, 44%)
HSVhsv(248, 72%, 68%)
CMYKcmyk(62.1%, 71.8%, 0%, 31.8%)
CIE-LABlab(30.42, 43.43, -64.02)
CIE-LCHlch(30.42, 77.36, 304.15°)
OKLaboklab(41.9% 0.035 -0.1846)
OKLCHoklch(41.9% 0.188 280.7)
XYZxyz(10.9826, 6.4101, 40.6947)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4231AE #9DAE31
analogous
#315EAE #4231AE #8031AE
triadic
#4231AE #AE4231 #31AE42
tetradic
#4231AE #AE315E #9DAE31 #31AE80
square
#4231AE #AE315E #9DAE31 #31AE80
split-complementary
#4231AE #AE8031 #5EAE31
monochromatic
#1E164E #30247E #4231AE #604FCD #8B7FDB

Accessibility & contrast

On white

9.20
#4231AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4231AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4231AE
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4231AE#FFFFFF#000000##FFFFFF
##4231AE1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#0043AC
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4231ae;
/* rgb */ color: rgb(66, 49, 174);
/* oklch */ color: oklch(41.9% 0.188 280.7);
Tailwind
colors: {
  custom: {
    50: '#836bc7',
    500: '#4231ae',
    950: '#000000',
  },
}
SCSS
$custom: #4231ae;
$custom-light: #836bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#4231ae",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 248.16,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.419,
    "c": 0.1879,
    "h": 280.7
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#4231AE
secondary
#B9C477
accent
#DF48CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4231AE

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

Preview Lab → · Contrast checker → · Palette generator →

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