#3237AD#3237AD

#3237AD is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.6% C 0.184 H 273.3°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#3237AD
RGBrgb(50, 55, 173)
HSLhsl(238, 55%, 44%)
HSVhsv(238, 71%, 68%)
CMYKcmyk(71.1%, 68.2%, 0%, 32.2%)
CIE-LABlab(30.46, 37.50, -63.40)
CIE-LCHlch(30.46, 73.66, 300.60°)
OKLaboklab(41.6% 0.0104 -0.1832)
OKLCHoklch(41.6% 0.184 273.3)
XYZxyz(10.2219, 6.4266, 40.2288)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3237AD #ADA832
analogous
#3274AD #3237AD #6A32AD
triadic
#3237AD #AD3237 #37AD32
tetradic
#3237AD #AD3274 #ADA832 #32AD6A
square
#3237AD #AD3274 #ADA832 #32AD6A
split-complementary
#3237AD #AD6A32 #74AD32
monochromatic
#17194E #24287E #3237AD #5055CC #7F83DA

Accessibility & contrast

On white

9.19
#3237AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3237AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3237AD
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3237AD#FFFFFF#000000##FFFFFF
##3237AD1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB1
Deuteranopia (green-blind)
#0042AB
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3237ad;
/* rgb */ color: rgb(50, 55, 173);
/* oklch */ color: oklch(41.6% 0.184 273.3);
Tailwind
colors: {
  custom: {
    50: '#7c6ec7',
    500: '#3237ad',
    950: '#000000',
  },
}
SCSS
$custom: #3237ad;
$custom-light: #7c6ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#3237ad",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 173
  },
  "hsl": {
    "h": 237.561,
    "s": 55.157,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41602,
    "c": 0.18355,
    "h": 273.3
  },
  "luminance": 0.06428
}

Semantic roles & 50–950 ramp

primary
#3237AD
secondary
#C3C078
accent
#D849DE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3237AD

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

Preview Lab → · Contrast checker → · Palette generator →

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