#4231BA#4231BA

#4231BA is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.1% C 0.203 H 279.2°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#4231BA
RGBrgb(66, 49, 186)
HSLhsl(247, 58%, 46%)
HSVhsv(247, 74%, 73%)
CMYKcmyk(64.5%, 73.7%, 0%, 27.1%)
CIE-LABlab(31.58, 47.19, -69.27)
CIE-LCHlch(31.58, 83.81, 304.26°)
OKLaboklab(43.07% 0.0325 -0.1999)
OKLCHoklch(43.07% 0.203 279.2)
XYZxyz(12.2052, 6.8991, 47.1333)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4231BA #A9BA31
analogous
#3164BA #4231BA #8631BA
triadic
#4231BA #BA4231 #31BA42
tetradic
#4231BA #BA3164 #A9BA31 #31BA86
square
#4231BA #BA3164 #A9BA31 #31BA86
split-complementary
#4231BA #BA8631 #64BA31
monochromatic
#201759 #31248A #4231BA #6556D2 #9186DF

Accessibility & contrast

On white

8.82
#4231BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4231BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4231BA
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4231BA#FFFFFF#000000##FFFFFF
##4231BA1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBE
Deuteranopia (green-blind)
#0045B7
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4231ba;
/* rgb */ color: rgb(66, 49, 186);
/* oklch */ color: oklch(43.1% 0.203 279.2);
Tailwind
colors: {
  custom: {
    50: '#866cd0',
    500: '#4231ba',
    950: '#000000',
  },
}
SCSS
$custom: #4231ba;
$custom-light: #866cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4231ba",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 186
  },
  "hsl": {
    "h": 247.445,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43067,
    "c": 0.20256,
    "h": 279.2
  },
  "luminance": 0.069
}

Semantic roles & 50–950 ramp

primary
#4231BA
secondary
#C0C97E
accent
#E246CE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0714
muted
#7D7A82

Preview Lab

Preview with #4231BA

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

Preview Lab → · Contrast checker → · Palette generator →

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