#3237B9#3237B9

#3237B9 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.8% C 0.199 H 272.6°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#3237B9
RGBrgb(50, 55, 185)
HSLhsl(238, 57%, 46%)
HSVhsv(238, 73%, 73%)
CMYKcmyk(73%, 70.3%, 0%, 27.5%)
CIE-LABlab(31.61, 41.64, -68.66)
CIE-LCHlch(31.61, 80.30, 301.23°)
OKLaboklab(42.77% 0.009 -0.1986)
OKLCHoklch(42.77% 0.199 272.6)
XYZxyz(11.4356, 6.9121, 46.6210)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3237B9 #B9B432
analogous
#327AB9 #3237B9 #7032B9
triadic
#3237B9 #B93237 #37B932
tetradic
#3237B9 #B9327A #B9B432 #32B970
square
#3237B9 #B9327A #B9B432 #32B970
split-complementary
#3237B9 #B97032 #7AB932
monochromatic
#181A59 #252989 #3237B9 #575BD2 #878ADF

Accessibility & contrast

On white

8.81
#3237B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3237B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3237B9
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3237B9#FFFFFF#000000##FFFFFF
##3237B91.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BD
Deuteranopia (green-blind)
#0044B7
Tritanopia (blue-blind)
#005B74
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3237b9;
/* rgb */ color: rgb(50, 55, 185);
/* oklch */ color: oklch(42.8% 0.199 272.6);
Tailwind
colors: {
  custom: {
    50: '#7e6fcf',
    500: '#3237b9',
    950: '#000000',
  },
}
SCSS
$custom: #3237b9;
$custom-light: #7e6fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3237b9",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 185
  },
  "hsl": {
    "h": 237.778,
    "s": 57.447,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42772,
    "c": 0.19882,
    "h": 272.6
  },
  "luminance": 0.06913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3237B9

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

Preview Lab → · Contrast checker → · Palette generator →

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