#3239B8#3239B8

#3239B8 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.0% C 0.195 H 272.3°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#3239B8
RGBrgb(50, 57, 184)
HSLhsl(237, 57%, 46%)
HSVhsv(237, 73%, 72%)
CMYKcmyk(72.8%, 69%, 0%, 27.8%)
CIE-LABlab(31.95, 40.09, -67.50)
CIE-LCHlch(31.95, 78.51, 300.70°)
OKLaboklab(42.99% 0.008 -0.1952)
OKLCHoklch(42.99% 0.195 272.3)
XYZxyz(11.4273, 7.0639, 46.0993)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3239B8 #B8B132
analogous
#327CB8 #3239B8 #6E32B8
triadic
#3239B8 #B83239 #39B832
tetradic
#3239B8 #B8327C #B8B132 #32B86E
square
#3239B8 #B8327C #B8B132 #32B86E
split-complementary
#3239B8 #B86E32 #7CB832
monochromatic
#181B58 #252A88 #3239B8 #565DD1 #868BDE

Accessibility & contrast

On white

8.70
#3239B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3239B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3239B8
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3239B8#FFFFFF#000000##FFFFFF
##3239B81.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0045B6
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3239b8;
/* rgb */ color: rgb(50, 57, 184);
/* oklch */ color: oklch(43.0% 0.195 272.3);
Tailwind
colors: {
  custom: {
    50: '#7e70ce',
    500: '#3239b8',
    950: '#000000',
  },
}
SCSS
$custom: #3239b8;
$custom-light: #7e70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3239b8",
  "rgb": {
    "r": 50,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 236.866,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42992,
    "c": 0.19539,
    "h": 272.3
  },
  "luminance": 0.07065
}

Semantic roles & 50–950 ramp

primary
#3239B8
secondary
#C8C47E
accent
#D947E1
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3239B8

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

Preview Lab → · Contrast checker → · Palette generator →

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