#3242B2#3242B2

#3242B2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.0% C 0.177 H 270.8°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#3242B2
RGBrgb(50, 66, 178)
HSLhsl(233, 56%, 45%)
HSVhsv(233, 72%, 70%)
CMYKcmyk(71.9%, 62.9%, 0%, 30.2%)
CIE-LABlab(33.54, 32.31, -61.35)
CIE-LCHlch(33.54, 69.34, 297.78°)
OKLaboklab(43.98% 0.0026 -0.1772)
OKLCHoklch(43.98% 0.177 270.8)
XYZxyz(11.2968, 7.7878, 43.0187)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3242B2 #B2A232
analogous
#3282B2 #3242B2 #6232B2
triadic
#3242B2 #B23242 #42B232
tetradic
#3242B2 #B23282 #B2A232 #32B262
square
#3242B2 #B23282 #B2A232 #32B262
split-complementary
#3242B2 #B26232 #82B232
monochromatic
#171F52 #253082 #3242B2 #5362CF #828EDC

Accessibility & contrast

On white

8.21
#3242B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3242B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3242B2#FFFFFF#000000##FFFFFF
##3242B21.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3242b2;
/* rgb */ color: rgb(50, 66, 178);
/* oklch */ color: oklch(44.0% 0.177 270.8);
Tailwind
colors: {
  custom: {
    50: '#7c76ca',
    500: '#3242b2',
    950: '#000000',
  },
}
SCSS
$custom: #3242b2;
$custom-light: #7c76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3242b2",
  "rgb": {
    "r": 50,
    "g": 66,
    "b": 178
  },
  "hsl": {
    "h": 232.5,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43984,
    "c": 0.17719,
    "h": 270.8
  },
  "luminance": 0.07789
}

Semantic roles & 50–950 ramp

primary
#3242B2
secondary
#C5BC7B
accent
#CD48DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3242B2

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

Preview Lab → · Contrast checker → · Palette generator →

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