#3237A0#3237A0

#3237A0 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.166 H 274.0°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#3237A0
RGBrgb(50, 55, 160)
HSLhsl(237, 52%, 41%)
HSVhsv(237, 69%, 63%)
CMYKcmyk(68.8%, 65.6%, 0%, 37.3%)
CIE-LABlab(29.28, 32.93, -57.52)
CIE-LCHlch(29.28, 66.28, 299.79°)
OKLaboklab(40.38% 0.0117 -0.166)
OKLCHoklch(40.38% 0.166 274)
XYZxyz(9.0246, 5.9477, 33.9233)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3237A0 #A09B32
analogous
#326EA0 #3237A0 #6432A0
triadic
#3237A0 #A03237 #37A032
tetradic
#3237A0 #A0326E #A09B32 #32A064
square
#3237A0 #A0326E #A09B32 #32A064
split-complementary
#3237A0 #A06432 #6EA032
monochromatic
#151743 #232771 #3237A0 #494FC6 #787CD5

Accessibility & contrast

On white

9.59
#3237A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3237A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3237A0#FFFFFF#000000##FFFFFF
##3237A01.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA3
Deuteranopia (green-blind)
#00409E
Tritanopia (blue-blind)
#005266
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3237a0;
/* rgb */ color: rgb(50, 55, 160);
/* oklch */ color: oklch(40.4% 0.166 274.0);
Tailwind
colors: {
  custom: {
    50: '#796ebd',
    500: '#3237a0',
    950: '#000000',
  },
}
SCSS
$custom: #3237a0;
$custom-light: #796ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#3237a0",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 160
  },
  "hsl": {
    "h": 237.273,
    "s": 52.381,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40378,
    "c": 0.16642,
    "h": 274
  },
  "luminance": 0.05949
}

Semantic roles & 50–950 ramp

primary
#3237A0
secondary
#BDBA71
accent
#D54CDC
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3237A0

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

Preview Lab → · Contrast checker → · Palette generator →

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