#3237A8#3237A8

#3237A8 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.1% C 0.177 H 273.6°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#3237A8
RGBrgb(50, 55, 168)
HSLhsl(237, 54%, 43%)
HSVhsv(237, 70%, 66%)
CMYKcmyk(70.2%, 67.3%, 0%, 34.1%)
CIE-LABlab(30.00, 35.75, -61.16)
CIE-LCHlch(30.00, 70.84, 300.31°)
OKLaboklab(41.13% 0.011 -0.1767)
OKLCHoklch(41.13% 0.177 273.6)
XYZxyz(9.7471, 6.2367, 37.7283)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3237A8 #A8A332
analogous
#3272A8 #3237A8 #6832A8
triadic
#3237A8 #A83237 #37A832
tetradic
#3237A8 #A83272 #A8A332 #32A868
square
#3237A8 #A83272 #A8A332 #32A868
split-complementary
#3237A8 #A86832 #72A832
monochromatic
#16184A #242879 #3237A8 #4D52CA #7C80D8

Accessibility & contrast

On white

9.34
#3237A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3237A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3237A8
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3237A8#FFFFFF#000000##FFFFFF
##3237A81.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAC
Deuteranopia (green-blind)
#0041A6
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3237a8;
/* rgb */ color: rgb(50, 55, 168);
/* oklch */ color: oklch(41.1% 0.177 273.6);
Tailwind
colors: {
  custom: {
    50: '#7a6ec3',
    500: '#3237a8',
    950: '#000000',
  },
}
SCSS
$custom: #3237a8;
$custom-light: #7a6ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#3237a8",
  "rgb": {
    "r": 50,
    "g": 55,
    "b": 168
  },
  "hsl": {
    "h": 237.458,
    "s": 54.128,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41125,
    "c": 0.17703,
    "h": 273.6
  },
  "luminance": 0.06238
}

Semantic roles & 50–950 ramp

primary
#3237A8
secondary
#C1BE75
accent
#D74ADD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3237A8

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

Preview Lab → · Contrast checker → · Palette generator →

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