#3237AB#3237AB

#3237AB is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.4% C 0.181 H 273.4°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#3237AB
RGBrgb(50, 55, 171)
HSLhsl(238, 55%, 43%)
HSVhsv(238, 71%, 67%)
CMYKcmyk(70.8%, 67.8%, 0%, 32.9%)
CIE-LABlab(30.28, 36.80, -62.51)
CIE-LCHlch(30.28, 72.54, 300.49°)
OKLaboklab(41.41% 0.0107 -0.1806)
OKLCHoklch(41.41% 0.181 273.4)
XYZxyz(10.0298, 6.3498, 39.2172)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3237AB #ABA632
analogous
#3273AB #3237AB #6932AB
triadic
#3237AB #AB3237 #37AB32
tetradic
#3237AB #AB3273 #ABA632 #32AB69
square
#3237AB #AB3273 #ABA632 #32AB69
split-complementary
#3237AB #AB6932 #73AB32
monochromatic
#16194C #24287C #3237AB #4F54CB #7E82D9

Accessibility & contrast

On white

9.25
#3237AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3237AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3237AB
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3237AB#FFFFFF#000000##FFFFFF
##3237AB1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#0042A9
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3237ab;
/* rgb */ color: rgb(50, 55, 171);
/* oklch */ color: oklch(41.4% 0.181 273.4);
Tailwind
colors: {
  custom: {
    50: '#7b6ec5',
    500: '#3237ab',
    950: '#000000',
  },
}
SCSS
$custom: #3237ab;
$custom-light: #7b6ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#3237ab",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 171
  },
  "hsl": {
    "h": 237.521,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4141,
    "c": 0.18095,
    "h": 273.4
  },
  "luminance": 0.06351
}

Semantic roles & 50–950 ramp

primary
#3237AB
secondary
#C2BF77
accent
#D84ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3237AB

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

Preview Lab → · Contrast checker → · Palette generator →

#3237AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva