#3242B8#3242B8

#3242B8 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.5% C 0.185 H 270.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#3242B8
RGBrgb(50, 66, 184)
HSLhsl(233, 57%, 46%)
HSVhsv(233, 73%, 72%)
CMYKcmyk(72.8%, 64.1%, 0%, 27.8%)
CIE-LABlab(34.05, 34.47, -64.05)
CIE-LCHlch(34.05, 72.74, 298.29°)
OKLaboklab(44.52% 0.0023 -0.1851)
OKLCHoklch(44.52% 0.185 270.7)
XYZxyz(11.9124, 8.0340, 46.2610)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3242B8 #B8A832
analogous
#3285B8 #3242B8 #6532B8
triadic
#3242B8 #B83242 #42B832
tetradic
#3242B8 #B83285 #B8A832 #32B865
square
#3242B8 #B83285 #B8A832 #32B865
split-complementary
#3242B8 #B86532 #85B832
monochromatic
#181F58 #253188 #3242B8 #5665D1 #8691DE

Accessibility & contrast

On white

8.06
#3242B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3242B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3242B8#FFFFFF#000000##FFFFFF
##3242B81.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#004AB6
Tritanopia (blue-blind)
#006177
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3242b8;
/* rgb */ color: rgb(50, 66, 184);
/* oklch */ color: oklch(44.5% 0.185 270.7);
Tailwind
colors: {
  custom: {
    50: '#7d76ce',
    500: '#3242b8',
    950: '#000000',
  },
}
SCSS
$custom: #3242b8;
$custom-light: #7d76ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3242b8",
  "rgb": {
    "r": 50,
    "g": 66,
    "b": 184
  },
  "hsl": {
    "h": 232.836,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44523,
    "c": 0.18511,
    "h": 270.7
  },
  "luminance": 0.08035
}

Semantic roles & 50–950 ramp

primary
#3242B8
secondary
#C8BF7E
accent
#CE47E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3242B8

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

Preview Lab → · Contrast checker → · Palette generator →

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