#3242AA#3242AA

#3242AA is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.3% C 0.166 H 271.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#3242AA
RGBrgb(50, 66, 170)
HSLhsl(232, 55%, 43%)
HSVhsv(232, 71%, 67%)
CMYKcmyk(70.6%, 61.2%, 0%, 33.3%)
CIE-LABlab(32.87, 29.41, -57.68)
CIE-LCHlch(32.87, 64.74, 297.02°)
OKLaboklab(43.28% 0.0028 -0.1664)
OKLCHoklch(43.28% 0.166 271)
XYZxyz(10.5168, 7.4758, 38.9111)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3242AA #AA9A32
analogous
#327EAA #3242AA #5E32AA
triadic
#3242AA #AA3242 #42AA32
tetradic
#3242AA #AA327E #AA9A32 #32AA5E
square
#3242AA #AA327E #AA9A32 #32AA5E
split-complementary
#3242AA #AA5E32 #7EAA32
monochromatic
#161D4B #24307B #3242AA #4E5FCB #7D8AD9

Accessibility & contrast

On white

8.42
#3242AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3242AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3242AA
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3242AA#FFFFFF#000000##FFFFFF
##3242AA1.008.422.508.42
#FFFFFF8.421.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#0048A8
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3242aa;
/* rgb */ color: rgb(50, 66, 170);
/* oklch */ color: oklch(43.3% 0.166 271.0);
Tailwind
colors: {
  custom: {
    50: '#7a76c4',
    500: '#3242aa',
    950: '#000000',
  },
}
SCSS
$custom: #3242aa;
$custom-light: #7a76c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3242aa",
  "rgb": {
    "r": 50,
    "g": 66,
    "b": 170
  },
  "hsl": {
    "h": 232,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4328,
    "c": 0.16642,
    "h": 271
  },
  "luminance": 0.07477
}

Semantic roles & 50–950 ramp

primary
#3242AA
secondary
#C2B876
accent
#CA4ADE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #3242AA

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

Preview Lab → · Contrast checker → · Palette generator →

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