#4232AA#4232AA

#4232AA is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.7% C 0.182 H 281.1°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#4232AA
RGBrgb(66, 50, 170)
HSLhsl(248, 55%, 43%)
HSVhsv(248, 71%, 67%)
CMYKcmyk(61.2%, 70.6%, 0%, 33.3%)
CIE-LABlab(30.26, 41.60, -61.90)
CIE-LCHlch(30.26, 74.58, 303.90°)
OKLaboklab(41.67% 0.0349 -0.1784)
OKLCHoklch(41.67% 0.182 281.1)
XYZxyz(10.6408, 6.3410, 38.6856)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4232AA #9AAA32
analogous
#325EAA #4232AA #7E32AA
triadic
#4232AA #AA4232 #32AA42
tetradic
#4232AA #AA325E #9AAA32 #32AA7E
square
#4232AA #AA325E #9AAA32 #32AA7E
split-complementary
#4232AA #AA7E32 #5EAA32
monochromatic
#1D164B #30247B #4232AA #5F4ECB #8A7DD9

Accessibility & contrast

On white

9.26
#4232AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4232AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4232AA#FFFFFF#000000##FFFFFF
##4232AA1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4232aa;
/* rgb */ color: rgb(66, 50, 170);
/* oklch */ color: oklch(41.7% 0.182 281.1);
Tailwind
colors: {
  custom: {
    50: '#836cc4',
    500: '#4232aa',
    950: '#000000',
  },
}
SCSS
$custom: #4232aa;
$custom-light: #836cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4232aa",
  "rgb": {
    "r": 66,
    "g": 50,
    "b": 170
  },
  "hsl": {
    "h": 248,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41667,
    "c": 0.1818,
    "h": 281.1
  },
  "luminance": 0.06342
}

Semantic roles & 50–950 ramp

primary
#4232AA
secondary
#B8C276
accent
#DE4ACA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4232AA

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

Preview Lab → · Contrast checker → · Palette generator →

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