#3239A8#3239A8

#3239A8 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.5% C 0.175 H 273.1°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#3239A8
RGBrgb(50, 57, 168)
HSLhsl(236, 54%, 43%)
HSVhsv(236, 70%, 66%)
CMYKcmyk(70.2%, 66.1%, 0%, 34.1%)
CIE-LABlab(30.47, 34.49, -60.39)
CIE-LCHlch(30.47, 69.54, 299.73°)
OKLaboklab(41.47% 0.0096 -0.1744)
OKLCHoklch(41.47% 0.175 273.1)
XYZxyz(9.8440, 6.4306, 37.7606)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3239A8 #A8A132
analogous
#3274A8 #3239A8 #6632A8
triadic
#3239A8 #A83239 #39A832
tetradic
#3239A8 #A83274 #A8A132 #32A866
square
#3239A8 #A83274 #A8A132 #32A866
split-complementary
#3239A8 #A86632 #74A832
monochromatic
#16194A #242979 #3239A8 #4D55CA #7C82D8

Accessibility & contrast

On white

9.18
#3239A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3239A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3239A8
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3239A8#FFFFFF#000000##FFFFFF
##3239A81.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAB
Deuteranopia (green-blind)
#0042A6
Tritanopia (blue-blind)
#00566B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3239a8;
/* rgb */ color: rgb(50, 57, 168);
/* oklch */ color: oklch(41.5% 0.175 273.1);
Tailwind
colors: {
  custom: {
    50: '#7a6fc3',
    500: '#3239a8',
    950: '#000000',
  },
}
SCSS
$custom: #3239a8;
$custom-light: #7a6fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#3239a8",
  "rgb": {
    "r": 50,
    "g": 57,
    "b": 168
  },
  "hsl": {
    "h": 236.441,
    "s": 54.128,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41469,
    "c": 0.17468,
    "h": 273.1
  },
  "luminance": 0.06432
}

Semantic roles & 50–950 ramp

primary
#3239A8
secondary
#C1BC75
accent
#D54ADD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3239A8

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

Preview Lab → · Contrast checker → · Palette generator →

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