#3237B1#3237B1

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

Color values

HEX#3237B1
RGBrgb(50, 55, 177)
HSLhsl(238, 56%, 45%)
HSVhsv(238, 72%, 69%)
CMYKcmyk(71.8%, 68.9%, 0%, 30.6%)
CIE-LABlab(30.84, 38.89, -65.17)
CIE-LCHlch(30.84, 75.89, 300.82°)
OKLaboklab(41.99% 0.01 -0.1884)
OKLCHoklch(41.99% 0.189 273)
XYZxyz(10.6147, 6.5838, 42.2978)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3237B1 #B1AC32
analogous
#3277B1 #3237B1 #6D32B1
triadic
#3237B1 #B13237 #37B132
tetradic
#3237B1 #B13277 #B1AC32 #32B16D
square
#3237B1 #B13277 #B1AC32 #32B16D
split-complementary
#3237B1 #B16D32 #77B132
monochromatic
#171952 #252881 #3237B1 #5257CE #8285DC

Accessibility & contrast

On white

9.06
#3237B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3237B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3237B1
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3237B1#FFFFFF#000000##FFFFFF
##3237B11.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#0043AF
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3237b1;
/* rgb */ color: rgb(50, 55, 177);
/* oklch */ color: oklch(42.0% 0.189 273.0);
Tailwind
colors: {
  custom: {
    50: '#7c6ec9',
    500: '#3237b1',
    950: '#000000',
  },
}
SCSS
$custom: #3237b1;
$custom-light: #7c6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#3237b1",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 177
  },
  "hsl": {
    "h": 237.638,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41988,
    "c": 0.18868,
    "h": 273
  },
  "luminance": 0.06585
}

Semantic roles & 50–950 ramp

primary
#3237B1
secondary
#C5C27A
accent
#D949DF
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3237B1

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

Preview Lab → · Contrast checker → · Palette generator →

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