#37239D#37239D

#37239D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.4% C 0.183 H 280.2°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#37239D
RGBrgb(55, 35, 157)
HSLhsl(250, 64%, 38%)
HSVhsv(250, 78%, 62%)
CMYKcmyk(65%, 77.7%, 0%, 38.4%)
CIE-LABlab(25.10, 44.32, -62.54)
CIE-LCHlch(25.10, 76.65, 305.32°)
OKLaboklab(37.39% 0.0326 -0.1805)
OKLCHoklch(37.39% 0.183 280.2)
XYZxyz(8.2605, 4.4480, 32.3150)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37239D #899D23
analogous
#234C9D #37239D #74239D
triadic
#37239D #9D3723 #239D37
tetradic
#37239D #9D234C #899D23 #239D74
square
#37239D #9D234C #899D23 #239D74
split-complementary
#37239D #9D7423 #4C9D23
monochromatic
#140D39 #25186B #37239D #492ECF #735FDB

Accessibility & contrast

On white

11.11
#37239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#37239D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37239D
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37239D#FFFFFF#000000##FFFFFF
##37239D1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #37239d;
/* rgb */ color: rgb(55, 35, 157);
/* oklch */ color: oklch(37.4% 0.183 280.2);
Tailwind
colors: {
  custom: {
    50: '#7c61bb',
    500: '#37239d',
    950: '#000000',
  },
}
SCSS
$custom: #37239d;
$custom-light: #7c61bb;
$custom-dark: #000000;
JSON
{
  "hex": "#37239d",
  "rgb": {
    "r": 55,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 249.836,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37393,
    "c": 0.18345,
    "h": 280.2
  },
  "luminance": 0.04449
}

Semantic roles & 50–950 ramp

primary
#37239D
secondary
#B0C05C
accent
#E741CB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #37239D

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

Preview Lab → · Contrast checker → · Palette generator →

#37239D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva