#3236B8#3236B8

#3236B8 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.5% C 0.199 H 272.8°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#3236B8
RGBrgb(50, 54, 184)
HSLhsl(238, 57%, 46%)
HSVhsv(238, 73%, 72%)
CMYKcmyk(72.8%, 70.7%, 0%, 27.8%)
CIE-LABlab(31.29, 41.89, -68.59)
CIE-LCHlch(31.29, 80.37, 301.42°)
OKLaboklab(42.52% 0.0097 -0.1984)
OKLCHoklch(42.52% 0.199 272.8)
XYZxyz(11.2834, 6.7760, 46.0514)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3236B8 #B8B432
analogous
#3279B8 #3236B8 #7132B8
triadic
#3236B8 #B83236 #36B832
tetradic
#3236B8 #B83279 #B8B432 #32B871
square
#3236B8 #B83279 #B8B432 #32B871
split-complementary
#3236B8 #B87132 #79B832
monochromatic
#181A58 #252888 #3236B8 #565AD1 #8689DE

Accessibility & contrast

On white

8.92
#3236B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3236B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3236B8
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3236B8#FFFFFF#000000##FFFFFF
##3236B81.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BC
Deuteranopia (green-blind)
#0043B6
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3236b8;
/* rgb */ color: rgb(50, 54, 184);
/* oklch */ color: oklch(42.5% 0.199 272.8);
Tailwind
colors: {
  custom: {
    50: '#7e6ecf',
    500: '#3236b8',
    950: '#000000',
  },
}
SCSS
$custom: #3236b8;
$custom-light: #7e6ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#3236b8",
  "rgb": {
    "r": 50,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 238.209,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42517,
    "c": 0.19864,
    "h": 272.8
  },
  "luminance": 0.06777
}

Semantic roles & 50–950 ramp

primary
#3236B8
secondary
#C8C67E
accent
#DC47E1
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3236B8

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

Preview Lab → · Contrast checker → · Palette generator →

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