#4232A2#4232A2

#4232A2 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.9% C 0.172 H 282.2°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#4232A2
RGBrgb(66, 50, 162)
HSLhsl(249, 53%, 42%)
HSVhsv(249, 69%, 64%)
CMYKcmyk(59.3%, 69.1%, 0%, 36.5%)
CIE-LABlab(29.53, 39.05, -58.27)
CIE-LCHlch(29.53, 70.14, 303.83°)
OKLaboklab(40.92% 0.0363 -0.1678)
OKLCHoklch(40.92% 0.172 282.2)
XYZxyz(9.9069, 6.0474, 34.8206)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4232A2 #92A232
analogous
#325AA2 #4232A2 #7A32A2
triadic
#4232A2 #A24232 #32A242
tetradic
#4232A2 #A2325A #92A232 #32A27A
square
#4232A2 #A2325A #92A232 #32A27A
split-complementary
#4232A2 #A27A32 #5AA232
monochromatic
#1C1544 #2F2473 #4232A2 #5C4AC7 #8679D6

Accessibility & contrast

On white

9.50
#4232A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4232A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4232A2
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4232A2#FFFFFF#000000##FFFFFF
##4232A21.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#044F66
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4232a2;
/* rgb */ color: rgb(66, 50, 162);
/* oklch */ color: oklch(40.9% 0.172 282.2);
Tailwind
colors: {
  custom: {
    50: '#816bbf',
    500: '#4232a2',
    950: '#000000',
  },
}
SCSS
$custom: #4232a2;
$custom-light: #816bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#4232a2",
  "rgb": {
    "r": 66,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 248.571,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40925,
    "c": 0.17164,
    "h": 282.2
  },
  "luminance": 0.06048
}

Semantic roles & 50–950 ramp

primary
#4232A2
secondary
#B3BE72
accent
#DC4CC8
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #4232A2

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

Preview Lab → · Contrast checker → · Palette generator →

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