#3237C4#3237C4

#3237C4 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 43.9% C 0.212 H 272.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#3237C4
RGBrgb(50, 55, 196)
HSLhsl(238, 59%, 48%)
HSVhsv(238, 74%, 77%)
CMYKcmyk(74.5%, 71.9%, 0%, 23.1%)
CIE-LABlab(32.69, 45.36, -73.36)
CIE-LCHlch(32.69, 86.25, 301.73°)
OKLaboklab(43.87% 0.0074 -0.2123)
OKLCHoklch(43.87% 0.212 272)
XYZxyz(12.6420, 7.3947, 52.9749)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3237C4 #C4BF32
analogous
#3280C4 #3237C4 #7632C4
triadic
#3237C4 #C43237 #37C432
tetradic
#3237C4 #C43280 #C4BF32 #32C476
square
#3237C4 #C43280 #C4BF32 #32C476
split-complementary
#3237C4 #C47632 #80C432
monochromatic
#191C62 #262993 #3237C4 #5D62D6 #8E91E2

Accessibility & contrast

On white

8.47
#3237C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3237C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3237C4#FFFFFF#000000##FFFFFF
##3237C41.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C8
Deuteranopia (green-blind)
#0046C1
Tritanopia (blue-blind)
#005F7A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3237c4;
/* rgb */ color: rgb(50, 55, 196);
/* oklch */ color: oklch(43.9% 0.212 272.0);
Tailwind
colors: {
  custom: {
    50: '#816fd7',
    500: '#3237c4',
    950: '#000000',
  },
}
SCSS
$custom: #3237c4;
$custom-light: #816fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#3237c4",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 196
  },
  "hsl": {
    "h": 237.945,
    "s": 59.35,
    "l": 48.235
  },
  "oklch": {
    "l": 0.43874,
    "c": 0.21243,
    "h": 272
  },
  "luminance": 0.07396
}

Semantic roles & 50–950 ramp

primary
#3237C4
secondary
#CDCA85
accent
#DD45E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3237C4

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

Preview Lab → · Contrast checker → · Palette generator →

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