#4232A5#4232A5

#4232A5 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.2% C 0.175 H 281.8°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#4232A5
RGBrgb(66, 50, 165)
HSLhsl(248, 53%, 42%)
HSVhsv(248, 70%, 65%)
CMYKcmyk(60%, 69.7%, 0%, 35.3%)
CIE-LABlab(29.80, 40.01, -59.64)
CIE-LCHlch(29.80, 71.81, 303.85°)
OKLaboklab(41.2% 0.0358 -0.1718)
OKLCHoklch(41.2% 0.175 281.8)
XYZxyz(10.1768, 6.1554, 36.2419)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4232A5 #95A532
analogous
#325CA5 #4232A5 #7C32A5
triadic
#4232A5 #A54232 #32A542
tetradic
#4232A5 #A5325C #95A532 #32A57C
square
#4232A5 #A5325C #95A532 #32A57C
split-complementary
#4232A5 #A57C32 #5CA532
monochromatic
#1C1647 #2F2476 #4232A5 #5D4CC9 #877BD7

Accessibility & contrast

On white

9.41
#4232A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4232A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4232A5
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4232A5#FFFFFF#000000##FFFFFF
##4232A51.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#005067
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4232a5;
/* rgb */ color: rgb(66, 50, 165);
/* oklch */ color: oklch(41.2% 0.175 281.8);
Tailwind
colors: {
  custom: {
    50: '#826bc1',
    500: '#4232a5',
    950: '#000000',
  },
}
SCSS
$custom: #4232a5;
$custom-light: #826bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#4232a5",
  "rgb": {
    "r": 66,
    "g": 50,
    "b": 165
  },
  "hsl": {
    "h": 248.348,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41201,
    "c": 0.17547,
    "h": 281.8
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

primary
#4232A5
secondary
#B5BF73
accent
#DD4BC9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #4232A5

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

Preview Lab → · Contrast checker → · Palette generator →

#4232A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva