#3237B2#3237B2

#3237B2 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.1% C 0.190 H 273.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#3237B2
RGBrgb(50, 55, 178)
HSLhsl(238, 56%, 45%)
HSVhsv(238, 72%, 70%)
CMYKcmyk(71.9%, 69.1%, 0%, 30.2%)
CIE-LABlab(30.93, 39.23, -65.61)
CIE-LCHlch(30.93, 76.45, 300.88°)
OKLaboklab(42.09% 0.0099 -0.1897)
OKLCHoklch(42.09% 0.19 273)
XYZxyz(10.7148, 6.6238, 42.8247)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3237B2 #B2AD32
analogous
#3277B2 #3237B2 #6D32B2
triadic
#3237B2 #B23237 #37B232
tetradic
#3237B2 #B23277 #B2AD32 #32B26D
square
#3237B2 #B23277 #B2AD32 #32B26D
split-complementary
#3237B2 #B26D32 #77B232
monochromatic
#171952 #252882 #3237B2 #5357CF #8286DC

Accessibility & contrast

On white

9.03
#3237B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3237B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3237B2#FFFFFF#000000##FFFFFF
##3237B21.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3237b2;
/* rgb */ color: rgb(50, 55, 178);
/* oklch */ color: oklch(42.1% 0.190 273.0);
Tailwind
colors: {
  custom: {
    50: '#7d6eca',
    500: '#3237b2',
    950: '#000000',
  },
}
SCSS
$custom: #3237b2;
$custom-light: #7d6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#3237b2",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 237.656,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42085,
    "c": 0.18997,
    "h": 273
  },
  "luminance": 0.06625
}

Semantic roles & 50–950 ramp

primary
#3237B2
secondary
#C5C27B
accent
#DA48DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3237B2

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

Preview Lab → · Contrast checker → · Palette generator →

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