#3240B9#3240B9

#3240B9 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.3% C 0.189 H 271.1°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#3240B9
RGBrgb(50, 64, 185)
HSLhsl(234, 57%, 46%)
HSVhsv(234, 73%, 73%)
CMYKcmyk(73%, 65.4%, 0%, 27.5%)
CIE-LABlab(33.66, 36.10, -65.29)
CIE-LCHlch(33.66, 74.60, 298.94°)
OKLaboklab(44.26% 0.0036 -0.1887)
OKLCHoklch(44.26% 0.189 271.1)
XYZxyz(11.9028, 7.8465, 46.7768)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3240B9 #B9AB32
analogous
#3283B9 #3240B9 #6732B9
triadic
#3240B9 #B93240 #40B932
tetradic
#3240B9 #B93283 #B9AB32 #32B967
square
#3240B9 #B93283 #B9AB32 #32B967
split-complementary
#3240B9 #B96732 #83B932
monochromatic
#181F59 #252F89 #3240B9 #5763D2 #8790DF

Accessibility & contrast

On white

8.17
#3240B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3240B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3240B9
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3240B9#FFFFFF#000000##FFFFFF
##3240B91.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#0049B7
Tritanopia (blue-blind)
#006077
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3240b9;
/* rgb */ color: rgb(50, 64, 185);
/* oklch */ color: oklch(44.3% 0.189 271.1);
Tailwind
colors: {
  custom: {
    50: '#7d75cf',
    500: '#3240b9',
    950: '#000000',
  },
}
SCSS
$custom: #3240b9;
$custom-light: #7d75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3240b9",
  "rgb": {
    "r": 50,
    "g": 64,
    "b": 185
  },
  "hsl": {
    "h": 233.778,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44263,
    "c": 0.18876,
    "h": 271.1
  },
  "luminance": 0.07848
}

Semantic roles & 50–950 ramp

primary
#3240B9
secondary
#C8C17F
accent
#D147E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3240B9

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

Preview Lab → · Contrast checker → · Palette generator →

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