#3237A7#3237A7

#3237A7 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.0% C 0.176 H 273.6°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#3237A7
RGBrgb(50, 55, 167)
HSLhsl(237, 54%, 43%)
HSVhsv(237, 70%, 65%)
CMYKcmyk(70.1%, 67.1%, 0%, 34.5%)
CIE-LABlab(29.91, 35.40, -60.71)
CIE-LCHlch(29.91, 70.28, 300.25°)
OKLaboklab(41.03% 0.0111 -0.1754)
OKLCHoklch(41.03% 0.176 273.6)
XYZxyz(9.6543, 6.1996, 37.2396)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3237A7 #A7A232
analogous
#3271A7 #3237A7 #6832A7
triadic
#3237A7 #A73237 #37A732
tetradic
#3237A7 #A73271 #A7A232 #32A768
square
#3237A7 #A73271 #A7A232 #32A768
split-complementary
#3237A7 #A76832 #71A732
monochromatic
#161849 #242778 #3237A7 #4D52CA #7C80D8

Accessibility & contrast

On white

9.37
#3237A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3237A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3237A7
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3237A7#FFFFFF#000000##FFFFFF
##3237A71.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAA
Deuteranopia (green-blind)
#0041A5
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3237a7;
/* rgb */ color: rgb(50, 55, 167);
/* oklch */ color: oklch(41.0% 0.176 273.6);
Tailwind
colors: {
  custom: {
    50: '#7a6ec2',
    500: '#3237a7',
    950: '#000000',
  },
}
SCSS
$custom: #3237a7;
$custom-light: #7a6ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#3237a7",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 167
  },
  "hsl": {
    "h": 237.436,
    "s": 53.917,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41031,
    "c": 0.17572,
    "h": 273.6
  },
  "luminance": 0.06201
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3237A7

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

Preview Lab → · Contrast checker → · Palette generator →

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