#3237A2#3237A2

#3237A2 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.6% C 0.169 H 273.9°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#3237A2
RGBrgb(50, 55, 162)
HSLhsl(237, 53%, 42%)
HSVhsv(237, 69%, 64%)
CMYKcmyk(69.1%, 66%, 0%, 36.5%)
CIE-LABlab(29.46, 33.64, -58.43)
CIE-LCHlch(29.46, 67.42, 299.93°)
OKLaboklab(40.56% 0.0115 -0.1687)
OKLCHoklch(40.56% 0.169 273.9)
XYZxyz(9.2010, 6.0183, 34.8522)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3237A2 #A29D32
analogous
#326FA2 #3237A2 #6532A2
triadic
#3237A2 #A23237 #37A232
tetradic
#3237A2 #A2326F #A29D32 #32A265
square
#3237A2 #A2326F #A29D32 #32A265
split-complementary
#3237A2 #A26532 #6FA232
monochromatic
#151744 #242773 #3237A2 #4A50C7 #797DD6

Accessibility & contrast

On white

9.53
#3237A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3237A2
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3237A2#FFFFFF#000000##FFFFFF
##3237A21.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#0040A0
Tritanopia (blue-blind)
#005367
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3237a2;
/* rgb */ color: rgb(50, 55, 162);
/* oklch */ color: oklch(40.6% 0.169 273.9);
Tailwind
colors: {
  custom: {
    50: '#796ebe',
    500: '#3237a2',
    950: '#000000',
  },
}
SCSS
$custom: #3237a2;
$custom-light: #796ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#3237a2",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 162
  },
  "hsl": {
    "h": 237.321,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40563,
    "c": 0.1691,
    "h": 273.9
  },
  "luminance": 0.06019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3237A2

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

Preview Lab → · Contrast checker → · Palette generator →

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