#3237A3#3237A3

#3237A3 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.7% C 0.170 H 273.9°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#3237A3
RGBrgb(50, 55, 163)
HSLhsl(237, 53%, 42%)
HSVhsv(237, 69%, 64%)
CMYKcmyk(69.3%, 66.3%, 0%, 36.1%)
CIE-LABlab(29.55, 33.99, -58.89)
CIE-LCHlch(29.55, 68.00, 299.99°)
OKLaboklab(40.66% 0.0115 -0.17)
OKLCHoklch(40.66% 0.17 273.9)
XYZxyz(9.2902, 6.0540, 35.3222)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3237A3 #A39E32
analogous
#3270A3 #3237A3 #6632A3
triadic
#3237A3 #A33237 #37A332
tetradic
#3237A3 #A33270 #A39E32 #32A366
square
#3237A3 #A33270 #A39E32 #32A366
split-complementary
#3237A3 #A36632 #70A332
monochromatic
#151745 #242774 #3237A3 #4B50C8 #797DD6

Accessibility & contrast

On white

9.50
#3237A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3237A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3237A3
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3237A3#FFFFFF#000000##FFFFFF
##3237A31.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA6
Deuteranopia (green-blind)
#0040A1
Tritanopia (blue-blind)
#005368
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3237a3;
/* rgb */ color: rgb(50, 55, 163);
/* oklch */ color: oklch(40.7% 0.170 273.9);
Tailwind
colors: {
  custom: {
    50: '#796ebf',
    500: '#3237a3',
    950: '#000000',
  },
}
SCSS
$custom: #3237a3;
$custom-light: #796ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#3237a3",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 163
  },
  "hsl": {
    "h": 237.345,
    "s": 53.052,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40656,
    "c": 0.17044,
    "h": 273.9
  },
  "luminance": 0.06055
}

Semantic roles & 50–950 ramp

primary
#3237A3
secondary
#BFBB72
accent
#D64BDC
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3237A3

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

Preview Lab → · Contrast checker → · Palette generator →

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