#3242B5#3242B5

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

Color values

HEX#3242B5
RGBrgb(50, 66, 181)
HSLhsl(233, 57%, 45%)
HSVhsv(233, 72%, 71%)
CMYKcmyk(72.4%, 63.5%, 0%, 29%)
CIE-LABlab(33.79, 33.39, -62.71)
CIE-LCHlch(33.79, 71.04, 298.04°)
OKLaboklab(44.25% 0.0025 -0.1811)
OKLCHoklch(44.25% 0.181 270.8)
XYZxyz(11.6013, 7.9096, 44.6224)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3242B5 #B5A532
analogous
#3283B5 #3242B5 #6432B5
triadic
#3242B5 #B53242 #42B532
tetradic
#3242B5 #B53283 #B5A532 #32B564
square
#3242B5 #B53283 #B5A532 #32B564
split-complementary
#3242B5 #B56432 #83B532
monochromatic
#181F55 #253185 #3242B5 #5463D0 #848FDD

Accessibility & contrast

On white

8.13
#3242B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3242B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3242B5
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3242B5#FFFFFF#000000##FFFFFF
##3242B51.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#0049B3
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3242b5;
/* rgb */ color: rgb(50, 66, 181);
/* oklch */ color: oklch(44.3% 0.181 270.8);
Tailwind
colors: {
  custom: {
    50: '#7c76cc',
    500: '#3242b5',
    950: '#000000',
  },
}
SCSS
$custom: #3242b5;
$custom-light: #7c76cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3242b5",
  "rgb": {
    "r": 50,
    "g": 66,
    "b": 181
  },
  "hsl": {
    "h": 232.672,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44252,
    "c": 0.18117,
    "h": 270.8
  },
  "luminance": 0.07911
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3242B5

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

Preview Lab → · Contrast checker → · Palette generator →

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