#3242AB#3242AB

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

Color values

HEX#3242AB
RGBrgb(50, 66, 171)
HSLhsl(232, 55%, 43%)
HSVhsv(232, 71%, 67%)
CMYKcmyk(70.8%, 61.4%, 0%, 32.9%)
CIE-LABlab(32.95, 29.77, -58.14)
CIE-LCHlch(32.95, 65.32, 297.12°)
OKLaboklab(43.37% 0.0028 -0.1677)
OKLCHoklch(43.37% 0.168 271)
XYZxyz(10.6118, 7.5138, 39.4112)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3242AB #AB9B32
analogous
#327EAB #3242AB #5E32AB
triadic
#3242AB #AB3242 #42AB32
tetradic
#3242AB #AB327E #AB9B32 #32AB5E
square
#3242AB #AB327E #AB9B32 #32AB5E
split-complementary
#3242AB #AB5E32 #7EAB32
monochromatic
#161D4C #24307C #3242AB #4F5FCB #7E8AD9

Accessibility & contrast

On white

8.39
#3242AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3242AB#FFFFFF#000000##FFFFFF
##3242AB1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3242ab;
/* rgb */ color: rgb(50, 66, 171);
/* oklch */ color: oklch(43.4% 0.168 271.0);
Tailwind
colors: {
  custom: {
    50: '#7a76c5',
    500: '#3242ab',
    950: '#000000',
  },
}
SCSS
$custom: #3242ab;
$custom-light: #7a76c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3242ab",
  "rgb": {
    "r": 50,
    "g": 66,
    "b": 171
  },
  "hsl": {
    "h": 232.066,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43367,
    "c": 0.16777,
    "h": 271
  },
  "luminance": 0.07515
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3242AB

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

Preview Lab → · Contrast checker → · Palette generator →

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