#3237AA#3237AA

#3237AA is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.3% C 0.180 H 273.4°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#3237AA
RGBrgb(50, 55, 170)
HSLhsl(238, 55%, 43%)
HSVhsv(238, 71%, 67%)
CMYKcmyk(70.6%, 67.6%, 0%, 33.3%)
CIE-LABlab(30.19, 36.45, -62.06)
CIE-LCHlch(30.19, 71.97, 300.43°)
OKLaboklab(41.32% 0.0108 -0.1793)
OKLCHoklch(41.32% 0.18 273.4)
XYZxyz(9.9349, 6.3118, 38.7171)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3237AA #AAA532
analogous
#3273AA #3237AA #6932AA
triadic
#3237AA #AA3237 #37AA32
tetradic
#3237AA #AA3273 #AAA532 #32AA69
square
#3237AA #AA3273 #AAA532 #32AA69
split-complementary
#3237AA #AA6932 #73AA32
monochromatic
#16184B #24287B #3237AA #4E53CB #7D81D9

Accessibility & contrast

On white

9.28
#3237AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3237AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3237AA#FFFFFF#000000##FFFFFF
##3237AA1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3237aa;
/* rgb */ color: rgb(50, 55, 170);
/* oklch */ color: oklch(41.3% 0.180 273.4);
Tailwind
colors: {
  custom: {
    50: '#7b6ec4',
    500: '#3237aa',
    950: '#000000',
  },
}
SCSS
$custom: #3237aa;
$custom-light: #7b6ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#3237aa",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 170
  },
  "hsl": {
    "h": 237.5,
    "s": 54.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41315,
    "c": 0.17964,
    "h": 273.4
  },
  "luminance": 0.06313
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3237AA

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

Preview Lab → · Contrast checker → · Palette generator →

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