#3236A5#3236A5

#3236A5 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.7% C 0.174 H 273.9°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#3236A5
RGBrgb(50, 54, 165)
HSLhsl(238, 53%, 42%)
HSVhsv(238, 70%, 65%)
CMYKcmyk(69.7%, 67.3%, 0%, 35.3%)
CIE-LABlab(29.49, 35.33, -60.19)
CIE-LCHlch(29.49, 69.79, 300.41°)
OKLaboklab(40.67% 0.012 -0.1738)
OKLCHoklch(40.67% 0.174 273.9)
XYZxyz(9.4238, 6.0322, 36.2577)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3236A5 #A5A132
analogous
#3270A5 #3236A5 #6832A5
triadic
#3236A5 #A53236 #36A532
tetradic
#3236A5 #A53270 #A5A132 #32A568
square
#3236A5 #A53270 #A5A132 #32A568
split-complementary
#3236A5 #A56832 #70A532
monochromatic
#161747 #242776 #3236A5 #4C50C9 #7B7ED7

Accessibility & contrast

On white

9.52
#3236A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3236A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3236A5
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3236A5#FFFFFF#000000##FFFFFF
##3236A51.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA8
Deuteranopia (green-blind)
#0040A3
Tritanopia (blue-blind)
#005369
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3236a5;
/* rgb */ color: rgb(50, 54, 165);
/* oklch */ color: oklch(40.7% 0.174 273.9);
Tailwind
colors: {
  custom: {
    50: '#7a6dc1',
    500: '#3236a5',
    950: '#000000',
  },
}
SCSS
$custom: #3236a5;
$custom-light: #7a6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3236a5",
  "rgb": {
    "r": 50,
    "g": 54,
    "b": 165
  },
  "hsl": {
    "h": 237.913,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40672,
    "c": 0.17426,
    "h": 273.9
  },
  "luminance": 0.06033
}

Semantic roles & 50–950 ramp

primary
#3236A5
secondary
#BFBD73
accent
#D84BDD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3236A5

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

Preview Lab → · Contrast checker → · Palette generator →

#3236A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva