#3237E2#3237E2

#3237E2 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 47.0% C 0.248 H 270.6°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#3237E2
RGBrgb(50, 55, 226)
HSLhsl(238, 75%, 54%)
HSVhsv(238, 78%, 89%)
CMYKcmyk(77.9%, 75.7%, 0%, 11.4%)
CIE-LABlab(35.79, 55.15, -85.58)
CIE-LCHlch(35.79, 101.81, 302.80°)
OKLaboklab(47% 0.0026 -0.2478)
OKLCHoklch(47% 0.248 270.6)
XYZxyz(16.4044, 8.8996, 72.7900)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3237E2 #E2DD32
analogous
#328FE2 #3237E2 #8532E2
triadic
#3237E2 #E23237 #37E232
tetradic
#3237E2 #E2328F #E2DD32 #32E285
square
#3237E2 #E2328F #E2DD32 #32E285
split-complementary
#3237E2 #E28532 #8FE232
monochromatic
#131687 #1B1FBC #3237E2 #686BEA #9DA0F1

Accessibility & contrast

On white

7.55
#3237E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3237E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3237E2#FFFFFF#000000##FFFFFF
##3237E21.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE7
Deuteranopia (green-blind)
#004BDF
Tritanopia (blue-blind)
#006A8B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3237e2;
/* rgb */ color: rgb(50, 55, 226);
/* oklch */ color: oklch(47.0% 0.248 270.6);
Tailwind
colors: {
  custom: {
    50: '#8870ed',
    500: '#3237e2',
    950: '#000000',
  },
}
SCSS
$custom: #3237e2;
$custom-light: #8870ed;
$custom-dark: #000000;
JSON
{
  "hex": "#3237e2",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 226
  },
  "hsl": {
    "h": 238.295,
    "s": 75.214,
    "l": 54.118
  },
  "oklch": {
    "l": 0.46995,
    "c": 0.24786,
    "h": 270.6
  },
  "luminance": 0.08901
}

Semantic roles & 50–950 ramp

primary
#3237E2
secondary
#DDDB92
accent
#EC36F2
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #3237E2

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

Preview Lab → · Contrast checker → · Palette generator →

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