#3242B7#3242B7

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

Color values

HEX#3242B7
RGBrgb(50, 66, 183)
HSLhsl(233, 57%, 46%)
HSVhsv(233, 73%, 72%)
CMYKcmyk(72.7%, 63.9%, 0%, 28.2%)
CIE-LABlab(33.97, 34.11, -63.61)
CIE-LCHlch(33.97, 72.18, 298.21°)
OKLaboklab(44.43% 0.0024 -0.1838)
OKLCHoklch(44.43% 0.184 270.7)
XYZxyz(11.8079, 7.9922, 45.7109)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3242B7 #B7A732
analogous
#3284B7 #3242B7 #6432B7
triadic
#3242B7 #B73242 #42B732
tetradic
#3242B7 #B73284 #B7A732 #32B764
square
#3242B7 #B73284 #B7A732 #32B764
split-complementary
#3242B7 #B76432 #84B732
monochromatic
#181F57 #253187 #3242B7 #5664D1 #8690DE

Accessibility & contrast

On white

8.08
#3242B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3242B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3242B7
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3242B7#FFFFFF#000000##FFFFFF
##3242B71.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#004AB5
Tritanopia (blue-blind)
#006076
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3242b7;
/* rgb */ color: rgb(50, 66, 183);
/* oklch */ color: oklch(44.4% 0.184 270.7);
Tailwind
colors: {
  custom: {
    50: '#7d76ce',
    500: '#3242b7',
    950: '#000000',
  },
}
SCSS
$custom: #3242b7;
$custom-light: #7d76ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3242b7",
  "rgb": {
    "r": 50,
    "g": 66,
    "b": 183
  },
  "hsl": {
    "h": 232.782,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44432,
    "c": 0.18381,
    "h": 270.7
  },
  "luminance": 0.07993
}

Semantic roles & 50–950 ramp

primary
#3242B7
secondary
#C7BE7D
accent
#CE47E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3242B7

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

Preview Lab → · Contrast checker → · Palette generator →

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