#3237B5#3237B5

#3237B5 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.4% C 0.194 H 272.8°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#3237B5
RGBrgb(50, 55, 181)
HSLhsl(238, 57%, 45%)
HSVhsv(238, 72%, 71%)
CMYKcmyk(72.4%, 69.6%, 0%, 29%)
CIE-LABlab(31.22, 40.27, -66.93)
CIE-LCHlch(31.22, 78.11, 301.03°)
OKLaboklab(42.38% 0.0095 -0.1935)
OKLCHoklch(42.38% 0.194 272.8)
XYZxyz(11.0193, 6.7456, 44.4284)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3237B5 #B5B032
analogous
#3278B5 #3237B5 #6E32B5
triadic
#3237B5 #B53237 #37B532
tetradic
#3237B5 #B53278 #B5B032 #32B56E
square
#3237B5 #B53278 #B5B032 #32B56E
split-complementary
#3237B5 #B56E32 #78B532
monochromatic
#181A55 #252885 #3237B5 #5459D0 #8488DD

Accessibility & contrast

On white

8.94
#3237B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3237B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3237B5
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3237B5#FFFFFF#000000##FFFFFF
##3237B51.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B9
Deuteranopia (green-blind)
#0043B3
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3237b5;
/* rgb */ color: rgb(50, 55, 181);
/* oklch */ color: oklch(42.4% 0.194 272.8);
Tailwind
colors: {
  custom: {
    50: '#7d6ecc',
    500: '#3237b5',
    950: '#000000',
  },
}
SCSS
$custom: #3237b5;
$custom-light: #7d6ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#3237b5",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 181
  },
  "hsl": {
    "h": 237.71,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42378,
    "c": 0.19378,
    "h": 272.8
  },
  "luminance": 0.06747
}

Semantic roles & 50–950 ramp

primary
#3237B5
secondary
#C7C47C
accent
#DA48E0
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3237B5

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

Preview Lab → · Contrast checker → · Palette generator →

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