#3237B6#3237B6

#3237B6 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.5% C 0.195 H 272.8°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#3237B6
RGBrgb(50, 55, 182)
HSLhsl(238, 57%, 45%)
HSVhsv(238, 73%, 71%)
CMYKcmyk(72.5%, 69.8%, 0%, 28.6%)
CIE-LABlab(31.32, 40.61, -67.36)
CIE-LCHlch(31.32, 78.66, 301.08°)
OKLaboklab(42.48% 0.0094 -0.1948)
OKLCHoklch(42.48% 0.195 272.8)
XYZxyz(11.1222, 6.7868, 44.9707)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3237B6 #B6B132
analogous
#3279B6 #3237B6 #6F32B6
triadic
#3237B6 #B63237 #37B632
tetradic
#3237B6 #B63279 #B6B132 #32B66F
square
#3237B6 #B63279 #B6B132 #32B66F
split-complementary
#3237B6 #B66F32 #79B632
monochromatic
#181A56 #252886 #3237B6 #555AD0 #8588DD

Accessibility & contrast

On white

8.91
#3237B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3237B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3237B6
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3237B6#FFFFFF#000000##FFFFFF
##3237B61.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BA
Deuteranopia (green-blind)
#0043B4
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3237b6;
/* rgb */ color: rgb(50, 55, 182);
/* oklch */ color: oklch(42.5% 0.195 272.8);
Tailwind
colors: {
  custom: {
    50: '#7e6fcd',
    500: '#3237b6',
    950: '#000000',
  },
}
SCSS
$custom: #3237b6;
$custom-light: #7e6fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3237b6",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 182
  },
  "hsl": {
    "h": 237.727,
    "s": 56.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42476,
    "c": 0.19504,
    "h": 272.8
  },
  "luminance": 0.06788
}

Semantic roles & 50–950 ramp

primary
#3237B6
secondary
#C7C47D
accent
#DA48E0
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3237B6

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

Preview Lab → · Contrast checker → · Palette generator →

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