#3237AC#3237AC

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

Color values

HEX#3237AC
RGBrgb(50, 55, 172)
HSLhsl(238, 55%, 44%)
HSVhsv(238, 71%, 67%)
CMYKcmyk(70.9%, 68%, 0%, 32.5%)
CIE-LABlab(30.37, 37.15, -62.96)
CIE-LCHlch(30.37, 73.10, 300.54°)
OKLaboklab(41.51% 0.0106 -0.1819)
OKLCHoklch(41.51% 0.182 273.3)
XYZxyz(10.1255, 6.3881, 39.7211)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3237AC #ACA732
analogous
#3274AC #3237AC #6A32AC
triadic
#3237AC #AC3237 #37AC32
tetradic
#3237AC #AC3274 #ACA732 #32AC6A
square
#3237AC #AC3274 #ACA732 #32AC6A
split-complementary
#3237AC #AC6A32 #74AC32
monochromatic
#16194D #24287D #3237AC #4F54CC #7F82DA

Accessibility & contrast

On white

9.22
#3237AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3237AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3237AC
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3237AC#FFFFFF#000000##FFFFFF
##3237AC1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#0042AA
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3237ac;
/* rgb */ color: rgb(50, 55, 172);
/* oklch */ color: oklch(41.5% 0.182 273.3);
Tailwind
colors: {
  custom: {
    50: '#7b6ec6',
    500: '#3237ac',
    950: '#000000',
  },
}
SCSS
$custom: #3237ac;
$custom-light: #7b6ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#3237ac",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 172
  },
  "hsl": {
    "h": 237.541,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41506,
    "c": 0.18225,
    "h": 273.3
  },
  "luminance": 0.06389
}

Semantic roles & 50–950 ramp

primary
#3237AC
secondary
#C3C077
accent
#D84ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3237AC

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

Preview Lab → · Contrast checker → · Palette generator →

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