#3239B1#3239B1

#3239B1 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.186 H 272.7°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#3239B1
RGBrgb(50, 57, 177)
HSLhsl(237, 56%, 45%)
HSVhsv(237, 72%, 69%)
CMYKcmyk(71.8%, 67.8%, 0%, 30.6%)
CIE-LABlab(31.30, 37.66, -64.43)
CIE-LCHlch(31.30, 74.62, 300.31°)
OKLaboklab(42.32% 0.0087 -0.1862)
OKLCHoklch(42.32% 0.186 272.7)
XYZxyz(10.7117, 6.7776, 42.3301)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3239B1 #B1AA32
analogous
#3279B1 #3239B1 #6B32B1
triadic
#3239B1 #B13239 #39B132
tetradic
#3239B1 #B13279 #B1AA32 #32B16B
square
#3239B1 #B13279 #B1AA32 #32B16B
split-complementary
#3239B1 #B16B32 #79B132
monochromatic
#171A52 #252A81 #3239B1 #5259CE #8287DC

Accessibility & contrast

On white

8.91
#3239B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3239B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3239B1
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3239B1#FFFFFF#000000##FFFFFF
##3239B11.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0044AF
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3239b1;
/* rgb */ color: rgb(50, 57, 177);
/* oklch */ color: oklch(42.3% 0.186 272.7);
Tailwind
colors: {
  custom: {
    50: '#7c70c9',
    500: '#3239b1',
    950: '#000000',
  },
}
SCSS
$custom: #3239b1;
$custom-light: #7c70c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3239b1",
  "rgb": {
    "r": 50,
    "g": 57,
    "b": 177
  },
  "hsl": {
    "h": 236.693,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42317,
    "c": 0.18643,
    "h": 272.7
  },
  "luminance": 0.06779
}

Semantic roles & 50–950 ramp

primary
#3239B1
secondary
#C5C17A
accent
#D749DF
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3239B1

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

Preview Lab → · Contrast checker → · Palette generator →

#3239B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva