#3237A1#3237A1

#3237A1 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.5% C 0.168 H 274.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#3237A1
RGBrgb(50, 55, 161)
HSLhsl(237, 53%, 41%)
HSVhsv(237, 69%, 63%)
CMYKcmyk(68.9%, 65.8%, 0%, 36.9%)
CIE-LABlab(29.37, 33.29, -57.97)
CIE-LCHlch(29.37, 66.85, 299.86°)
OKLaboklab(40.47% 0.0116 -0.1674)
OKLCHoklch(40.47% 0.168 274)
XYZxyz(9.1125, 5.9829, 34.3859)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3237A1 #A19C32
analogous
#326FA1 #3237A1 #6532A1
triadic
#3237A1 #A13237 #37A132
tetradic
#3237A1 #A1326F #A19C32 #32A165
square
#3237A1 #A1326F #A19C32 #32A165
split-complementary
#3237A1 #A16532 #6FA132
monochromatic
#151744 #232772 #3237A1 #4A4FC7 #787CD5

Accessibility & contrast

On white

9.56
#3237A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3237A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3237A1
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3237A1#FFFFFF#000000##FFFFFF
##3237A11.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA4
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#005367
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3237a1;
/* rgb */ color: rgb(50, 55, 161);
/* oklch */ color: oklch(40.5% 0.168 274.0);
Tailwind
colors: {
  custom: {
    50: '#796ebe',
    500: '#3237a1',
    950: '#000000',
  },
}
SCSS
$custom: #3237a1;
$custom-light: #796ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#3237a1",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 161
  },
  "hsl": {
    "h": 237.297,
    "s": 52.607,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4047,
    "c": 0.16776,
    "h": 274
  },
  "luminance": 0.05984
}

Semantic roles & 50–950 ramp

primary
#3237A1
secondary
#BEBA71
accent
#D64CDC
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3237A1

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

Preview Lab → · Contrast checker → · Palette generator →

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