#3242AC#3242AC

#3242AC is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.5% C 0.169 H 270.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#3242AC
RGBrgb(50, 66, 172)
HSLhsl(232, 55%, 44%)
HSVhsv(232, 71%, 67%)
CMYKcmyk(70.9%, 61.6%, 0%, 32.5%)
CIE-LABlab(33.03, 30.14, -58.60)
CIE-LCHlch(33.03, 65.90, 297.22°)
OKLaboklab(43.45% 0.0028 -0.1691)
OKLCHoklch(43.45% 0.169 270.9)
XYZxyz(10.7075, 7.5520, 39.9151)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3242AC #AC9C32
analogous
#327FAC #3242AC #5F32AC
triadic
#3242AC #AC3242 #42AC32
tetradic
#3242AC #AC327F #AC9C32 #32AC5F
square
#3242AC #AC327F #AC9C32 #32AC5F
split-complementary
#3242AC #AC5F32 #7FAC32
monochromatic
#161E4D #24307D #3242AC #4F60CC #7F8BDA

Accessibility & contrast

On white

8.36
#3242AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3242AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3242AC#FFFFFF#000000##FFFFFF
##3242AC1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3242ac;
/* rgb */ color: rgb(50, 66, 172);
/* oklch */ color: oklch(43.5% 0.169 270.9);
Tailwind
colors: {
  custom: {
    50: '#7a76c6',
    500: '#3242ac',
    950: '#000000',
  },
}
SCSS
$custom: #3242ac;
$custom-light: #7a76c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3242ac",
  "rgb": {
    "r": 50,
    "g": 66,
    "b": 172
  },
  "hsl": {
    "h": 232.131,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43454,
    "c": 0.16913,
    "h": 270.9
  },
  "luminance": 0.07553
}

Semantic roles & 50–950 ramp

primary
#3242AC
secondary
#C3B977
accent
#CB4ADE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3242AC

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

Preview Lab → · Contrast checker → · Palette generator →

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