#4231AA#4231AA

#4231AA is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.5% C 0.183 H 281.3°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#4231AA
RGBrgb(66, 49, 170)
HSLhsl(248, 55%, 43%)
HSVhsv(248, 71%, 67%)
CMYKcmyk(61.2%, 71.2%, 0%, 33.3%)
CIE-LABlab(30.05, 42.17, -62.24)
CIE-LCHlch(30.05, 75.18, 304.12°)
OKLaboklab(41.52% 0.0357 -0.1794)
OKLCHoklch(41.52% 0.183 281.3)
XYZxyz(10.5985, 6.2564, 38.6715)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4231AA #99AA31
analogous
#315CAA #4231AA #7E31AA
triadic
#4231AA #AA4231 #31AA42
tetradic
#4231AA #AA315C #99AA31 #31AA7E
square
#4231AA #AA315C #99AA31 #31AA7E
split-complementary
#4231AA #AA7E31 #5CAA31
monochromatic
#1D164B #30237A #4231AA #5E4DCC #897CD9

Accessibility & contrast

On white

9.33
#4231AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4231AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4231AA#FFFFFF#000000##FFFFFF
##4231AA1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4231aa;
/* rgb */ color: rgb(66, 49, 170);
/* oklch */ color: oklch(41.5% 0.183 281.3);
Tailwind
colors: {
  custom: {
    50: '#836bc4',
    500: '#4231aa',
    950: '#000000',
  },
}
SCSS
$custom: #4231aa;
$custom-light: #836bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4231aa",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 170
  },
  "hsl": {
    "h": 248.43,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4152,
    "c": 0.18292,
    "h": 281.3
  },
  "luminance": 0.06257
}

Semantic roles & 50–950 ramp

primary
#4231AA
secondary
#B7C275
accent
#DF49CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4231AA

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

Preview Lab → · Contrast checker → · Palette generator →

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