#3237B8#3237B8

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

Color values

HEX#3237B8
RGBrgb(50, 55, 184)
HSLhsl(238, 57%, 46%)
HSVhsv(238, 73%, 72%)
CMYKcmyk(72.8%, 70.1%, 0%, 27.8%)
CIE-LABlab(31.51, 41.30, -68.23)
CIE-LCHlch(31.51, 79.76, 301.18°)
OKLaboklab(42.67% 0.0091 -0.1974)
OKLCHoklch(42.67% 0.198 272.6)
XYZxyz(11.3304, 6.8700, 46.0670)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3237B8 #B8B332
analogous
#327AB8 #3237B8 #7032B8
triadic
#3237B8 #B83237 #37B832
tetradic
#3237B8 #B8327A #B8B332 #32B870
square
#3237B8 #B8327A #B8B332 #32B870
split-complementary
#3237B8 #B87032 #7AB832
monochromatic
#181A58 #252988 #3237B8 #565BD1 #868ADE

Accessibility & contrast

On white

8.85
#3237B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3237B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3237B8
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3237B8#FFFFFF#000000##FFFFFF
##3237B81.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BC
Deuteranopia (green-blind)
#0044B6
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3237b8;
/* rgb */ color: rgb(50, 55, 184);
/* oklch */ color: oklch(42.7% 0.198 272.6);
Tailwind
colors: {
  custom: {
    50: '#7e6fce',
    500: '#3237b8',
    950: '#000000',
  },
}
SCSS
$custom: #3237b8;
$custom-light: #7e6fce;
$custom-dark: #000000;
JSON
{
  "hex": "#3237b8",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 184
  },
  "hsl": {
    "h": 237.761,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42673,
    "c": 0.19757,
    "h": 272.6
  },
  "luminance": 0.06871
}

Semantic roles & 50–950 ramp

primary
#3237B8
secondary
#C8C57E
accent
#DB47E1
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3237B8

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

Preview Lab → · Contrast checker → · Palette generator →

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