#3237BA#3237BA

#3237BA is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 42.9% C 0.200 H 272.5°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#3237BA
RGBrgb(50, 55, 186)
HSLhsl(238, 58%, 46%)
HSVhsv(238, 73%, 73%)
CMYKcmyk(73.1%, 70.4%, 0%, 27.1%)
CIE-LABlab(31.70, 41.98, -69.10)
CIE-LCHlch(31.70, 80.85, 301.28°)
OKLaboklab(42.87% 0.0088 -0.1999)
OKLCHoklch(42.87% 0.2 272.5)
XYZxyz(11.5415, 6.9545, 47.1789)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3237BA #BAB532
analogous
#327BBA #3237BA #7132BA
triadic
#3237BA #BA3237 #37BA32
tetradic
#3237BA #BA327B #BAB532 #32BA71
square
#3237BA #BA327B #BAB532 #32BA71
split-complementary
#3237BA #BA7132 #7BBA32
monochromatic
#181A5A #25298A #3237BA #575CD2 #888BDF

Accessibility & contrast

On white

8.78
#3237BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3237BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3237BA
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3237BA#FFFFFF#000000##FFFFFF
##3237BA1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BE
Deuteranopia (green-blind)
#0044B8
Tritanopia (blue-blind)
#005B74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3237ba;
/* rgb */ color: rgb(50, 55, 186);
/* oklch */ color: oklch(42.9% 0.200 272.5);
Tailwind
colors: {
  custom: {
    50: '#7f6fd0',
    500: '#3237ba',
    950: '#000000',
  },
}
SCSS
$custom: #3237ba;
$custom-light: #7f6fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3237ba",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 237.794,
    "s": 57.627,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42871,
    "c": 0.20008,
    "h": 272.5
  },
  "luminance": 0.06956
}

Semantic roles & 50–950 ramp

primary
#3237BA
secondary
#C9C67F
accent
#DB47E1
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3237BA

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

Preview Lab → · Contrast checker → · Palette generator →

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