#3237A5#3237A5

#3237A5 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.8% C 0.173 H 273.7°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#3237A5
RGBrgb(50, 55, 165)
HSLhsl(237, 53%, 42%)
HSVhsv(237, 70%, 65%)
CMYKcmyk(69.7%, 66.7%, 0%, 35.3%)
CIE-LABlab(29.73, 34.70, -59.80)
CIE-LCHlch(29.73, 69.14, 300.12°)
OKLaboklab(40.84% 0.0113 -0.1727)
OKLCHoklch(40.84% 0.173 273.7)
XYZxyz(9.4708, 6.1262, 36.2734)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3237A5 #A5A032
analogous
#3271A5 #3237A5 #6632A5
triadic
#3237A5 #A53237 #37A532
tetradic
#3237A5 #A53271 #A5A032 #32A566
square
#3237A5 #A53271 #A5A032 #32A566
split-complementary
#3237A5 #A56632 #71A532
monochromatic
#161847 #242776 #3237A5 #4C51C9 #7B7FD7

Accessibility & contrast

On white

9.44
#3237A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3237A5
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3237A5#FFFFFF#000000##FFFFFF
##3237A51.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3237a5;
/* rgb */ color: rgb(50, 55, 165);
/* oklch */ color: oklch(40.8% 0.173 273.7);
Tailwind
colors: {
  custom: {
    50: '#7a6ec1',
    500: '#3237a5',
    950: '#000000',
  },
}
SCSS
$custom: #3237a5;
$custom-light: #7a6ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#3237a5",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 165
  },
  "hsl": {
    "h": 237.391,
    "s": 53.488,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40843,
    "c": 0.17309,
    "h": 273.7
  },
  "luminance": 0.06127
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3237A5

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

Preview Lab → · Contrast checker → · Palette generator →

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