#3242B4#3242B4

#3242B4 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.2% C 0.180 H 270.8°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#3242B4
RGBrgb(50, 66, 180)
HSLhsl(233, 57%, 45%)
HSVhsv(233, 72%, 71%)
CMYKcmyk(72.2%, 63.3%, 0%, 29.4%)
CIE-LABlab(33.71, 33.03, -62.25)
CIE-LCHlch(33.71, 70.48, 297.95°)
OKLaboklab(44.16% 0.0025 -0.1798)
OKLCHoklch(44.16% 0.18 270.8)
XYZxyz(11.4990, 7.8687, 44.0840)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3242B4 #B4A432
analogous
#3283B4 #3242B4 #6332B4
triadic
#3242B4 #B43242 #42B432
tetradic
#3242B4 #B43283 #B4A432 #32B463
square
#3242B4 #B43283 #B4A432 #32B463
split-complementary
#3242B4 #B46332 #83B432
monochromatic
#171F54 #253084 #3242B4 #5463CF #848FDD

Accessibility & contrast

On white

8.16
#3242B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3242B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3242B4#FFFFFF#000000##FFFFFF
##3242B41.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0049B2
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3242b4;
/* rgb */ color: rgb(50, 66, 180);
/* oklch */ color: oklch(44.2% 0.180 270.8);
Tailwind
colors: {
  custom: {
    50: '#7c76cb',
    500: '#3242b4',
    950: '#000000',
  },
}
SCSS
$custom: #3242b4;
$custom-light: #7c76cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3242b4",
  "rgb": {
    "r": 50,
    "g": 66,
    "b": 180
  },
  "hsl": {
    "h": 232.615,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44162,
    "c": 0.17985,
    "h": 270.8
  },
  "luminance": 0.0787
}

Semantic roles & 50–950 ramp

primary
#3242B4
secondary
#C6BD7C
accent
#CD48E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3242B4

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

Preview Lab → · Contrast checker → · Palette generator →

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