#3237A6#3237A6

#3237A6 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.9% C 0.174 H 273.7°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#3237A6
RGBrgb(50, 55, 166)
HSLhsl(237, 54%, 42%)
HSVhsv(237, 70%, 65%)
CMYKcmyk(69.9%, 66.9%, 0%, 34.9%)
CIE-LABlab(29.82, 35.05, -60.26)
CIE-LCHlch(29.82, 69.71, 300.18°)
OKLaboklab(40.94% 0.0112 -0.174)
OKLCHoklch(40.94% 0.174 273.7)
XYZxyz(9.5622, 6.1628, 36.7546)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3237A6 #A6A132
analogous
#3271A6 #3237A6 #6732A6
triadic
#3237A6 #A63237 #37A632
tetradic
#3237A6 #A63271 #A6A132 #32A667
square
#3237A6 #A63271 #A6A132 #32A667
split-complementary
#3237A6 #A66732 #71A632
monochromatic
#161848 #242777 #3237A6 #4C51C9 #7B7FD7

Accessibility & contrast

On white

9.41
#3237A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3237A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3237A6
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3237A6#FFFFFF#000000##FFFFFF
##3237A61.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA9
Deuteranopia (green-blind)
#0041A4
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3237a6;
/* rgb */ color: rgb(50, 55, 166);
/* oklch */ color: oklch(40.9% 0.174 273.7);
Tailwind
colors: {
  custom: {
    50: '#7a6ec1',
    500: '#3237a6',
    950: '#000000',
  },
}
SCSS
$custom: #3237a6;
$custom-light: #7a6ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#3237a6",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 166
  },
  "hsl": {
    "h": 237.414,
    "s": 53.704,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40937,
    "c": 0.1744,
    "h": 273.7
  },
  "luminance": 0.06164
}

Semantic roles & 50–950 ramp

primary
#3237A6
secondary
#C0BD74
accent
#D74BDD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3237A6

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

Preview Lab → · Contrast checker → · Palette generator →

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