#3237B4#3237B4

#3237B4 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.3% C 0.193 H 272.9°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#3237B4
RGBrgb(50, 55, 180)
HSLhsl(238, 57%, 45%)
HSVhsv(238, 72%, 71%)
CMYKcmyk(72.2%, 69.4%, 0%, 29.4%)
CIE-LABlab(31.13, 39.92, -66.49)
CIE-LCHlch(31.13, 77.56, 300.98°)
OKLaboklab(42.28% 0.0096 -0.1923)
OKLCHoklch(42.28% 0.193 272.9)
XYZxyz(10.9170, 6.7047, 43.8900)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3237B4 #B4AF32
analogous
#3278B4 #3237B4 #6E32B4
triadic
#3237B4 #B43237 #37B432
tetradic
#3237B4 #B43278 #B4AF32 #32B46E
square
#3237B4 #B43278 #B4AF32 #32B46E
split-complementary
#3237B4 #B46E32 #78B432
monochromatic
#171A54 #252884 #3237B4 #5459CF #8487DD

Accessibility & contrast

On white

8.97
#3237B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3237B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3237B4
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3237B4#FFFFFF#000000##FFFFFF
##3237B41.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#0043B2
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3237b4;
/* rgb */ color: rgb(50, 55, 180);
/* oklch */ color: oklch(42.3% 0.193 272.9);
Tailwind
colors: {
  custom: {
    50: '#7d6ecc',
    500: '#3237b4',
    950: '#000000',
  },
}
SCSS
$custom: #3237b4;
$custom-light: #7d6ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#3237b4",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 237.692,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4228,
    "c": 0.19251,
    "h": 272.9
  },
  "luminance": 0.06706
}

Semantic roles & 50–950 ramp

primary
#3237B4
secondary
#C6C37C
accent
#DA48E0
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3237B4

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

Preview Lab → · Contrast checker → · Palette generator →

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