#4231A4#4231A4

#4231A4 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.0% C 0.175 H 282.1°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#4231A4
RGBrgb(66, 49, 164)
HSLhsl(249, 54%, 42%)
HSVhsv(249, 70%, 64%)
CMYKcmyk(59.8%, 70.1%, 0%, 35.7%)
CIE-LABlab(29.50, 40.27, -59.53)
CIE-LCHlch(29.50, 71.87, 304.08°)
OKLaboklab(40.96% 0.0368 -0.1715)
OKLCHoklch(40.96% 0.175 282.1)
XYZxyz(10.0438, 6.0345, 35.7503)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4231A4 #93A431
analogous
#3159A4 #4231A4 #7C31A4
triadic
#4231A4 #A44231 #31A442
tetradic
#4231A4 #A43159 #93A431 #31A47C
square
#4231A4 #A43159 #93A431 #31A47C
split-complementary
#4231A4 #A47C31 #59A431
monochromatic
#1C1546 #2F2375 #4231A4 #5C49C9 #8779D7

Accessibility & contrast

On white

9.52
#4231A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4231A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4231A4
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4231A4#FFFFFF#000000##FFFFFF
##4231A41.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A7
Deuteranopia (green-blind)
#0041A2
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4231a4;
/* rgb */ color: rgb(66, 49, 164);
/* oklch */ color: oklch(41.0% 0.175 282.1);
Tailwind
colors: {
  custom: {
    50: '#826bc0',
    500: '#4231a4',
    950: '#000000',
  },
}
SCSS
$custom: #4231a4;
$custom-light: #826bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#4231a4",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 164
  },
  "hsl": {
    "h": 248.87,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40957,
    "c": 0.17536,
    "h": 282.1
  },
  "luminance": 0.06035
}

Semantic roles & 50–950 ramp

primary
#4231A4
secondary
#B4BF72
accent
#DD4AC8
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #4231A4

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

Preview Lab → · Contrast checker → · Palette generator →

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