#3237A9#3237A9

#3237A9 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.2% C 0.178 H 273.5°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#3237A9
RGBrgb(50, 55, 169)
HSLhsl(237, 54%, 43%)
HSVhsv(237, 70%, 66%)
CMYKcmyk(70.4%, 67.5%, 0%, 33.7%)
CIE-LABlab(30.09, 36.10, -61.61)
CIE-LCHlch(30.09, 71.41, 300.37°)
OKLaboklab(41.22% 0.0109 -0.178)
OKLCHoklch(41.22% 0.178 273.5)
XYZxyz(9.8406, 6.2741, 38.2208)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3237A9 #A9A432
analogous
#3272A9 #3237A9 #6832A9
triadic
#3237A9 #A93237 #37A932
tetradic
#3237A9 #A93272 #A9A432 #32A968
square
#3237A9 #A93272 #A9A432 #32A968
split-complementary
#3237A9 #A96832 #72A932
monochromatic
#16184B #24287A #3237A9 #4E53CB #7D81D9

Accessibility & contrast

On white

9.31
#3237A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3237A9#FFFFFF#000000##FFFFFF
##3237A91.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAD
Deuteranopia (green-blind)
#0041A7
Tritanopia (blue-blind)
#00556B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3237a9;
/* rgb */ color: rgb(50, 55, 169);
/* oklch */ color: oklch(41.2% 0.178 273.5);
Tailwind
colors: {
  custom: {
    50: '#7b6ec4',
    500: '#3237a9',
    950: '#000000',
  },
}
SCSS
$custom: #3237a9;
$custom-light: #7b6ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#3237a9",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 169
  },
  "hsl": {
    "h": 237.479,
    "s": 54.338,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4122,
    "c": 0.17834,
    "h": 273.5
  },
  "luminance": 0.06275
}

Semantic roles & 50–950 ramp

primary
#3237A9
secondary
#C1BE76
accent
#D74ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3237A9

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

Preview Lab → · Contrast checker → · Palette generator →

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