#3240B6#3240B6

#3240B6 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.0% C 0.185 H 271.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#3240B6
RGBrgb(50, 64, 182)
HSLhsl(234, 57%, 45%)
HSVhsv(234, 73%, 71%)
CMYKcmyk(72.5%, 64.8%, 0%, 28.6%)
CIE-LABlab(33.40, 35.03, -63.95)
CIE-LCHlch(33.40, 72.92, 298.71°)
OKLaboklab(43.99% 0.0038 -0.1848)
OKLCHoklch(43.99% 0.185 271.2)
XYZxyz(11.5894, 7.7211, 45.1264)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3240B6 #B6A832
analogous
#3282B6 #3240B6 #6632B6
triadic
#3240B6 #B63240 #40B632
tetradic
#3240B6 #B63282 #B6A832 #32B666
square
#3240B6 #B63282 #B6A832 #32B666
split-complementary
#3240B6 #B66632 #82B632
monochromatic
#181E56 #252F86 #3240B6 #5562D0 #858EDD

Accessibility & contrast

On white

8.25
#3240B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3240B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3240B6
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3240B6#FFFFFF#000000##FFFFFF
##3240B61.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0048B4
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3240b6;
/* rgb */ color: rgb(50, 64, 182);
/* oklch */ color: oklch(44.0% 0.185 271.2);
Tailwind
colors: {
  custom: {
    50: '#7d75cd',
    500: '#3240b6',
    950: '#000000',
  },
}
SCSS
$custom: #3240b6;
$custom-light: #7d75cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3240b6",
  "rgb": {
    "r": 50,
    "g": 64,
    "b": 182
  },
  "hsl": {
    "h": 233.636,
    "s": 56.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43986,
    "c": 0.18485,
    "h": 271.2
  },
  "luminance": 0.07722
}

Semantic roles & 50–950 ramp

primary
#3240B6
secondary
#C7BF7D
accent
#D048E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3240B6

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

Preview Lab → · Contrast checker → · Palette generator →

#3240B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva