#37339A#37339A

#37339A is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.5% C 0.162 H 277.7°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#37339A
RGBrgb(55, 51, 154)
HSLhsl(242, 50%, 40%)
HSVhsv(242, 67%, 60%)
CMYKcmyk(64.3%, 66.9%, 0%, 39.6%)
CIE-LABlab(28.15, 34.09, -55.71)
CIE-LCHlch(28.15, 65.31, 301.47°)
OKLaboklab(39.48% 0.0217 -0.1606)
OKLCHoklch(39.48% 0.162 277.7)
XYZxyz(8.5902, 5.5123, 31.1769)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37339A #969A33
analogous
#33629A #37339A #6A339A
triadic
#37339A #9A3733 #339A37
tetradic
#37339A #9A3362 #969A33 #339A6A
square
#37339A #9A3362 #969A33 #339A6A
split-complementary
#37339A #9A6A33 #629A33
monochromatic
#16153E #27246C #37339A #4D48C2 #7976D2

Accessibility & contrast

On white

9.99
#37339A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#37339A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37339A
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37339A#FFFFFF#000000##FFFFFF
##37339A1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #37339a;
/* rgb */ color: rgb(55, 51, 154);
/* oklch */ color: oklch(39.5% 0.162 277.7);
Tailwind
colors: {
  custom: {
    50: '#7a6bb9',
    500: '#37339a',
    950: '#000000',
  },
}
SCSS
$custom: #37339a;
$custom-light: #7a6bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#37339a",
  "rgb": {
    "r": 55,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 242.33,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39479,
    "c": 0.16204,
    "h": 277.7
  },
  "luminance": 0.05513
}

Semantic roles & 50–950 ramp

primary
#37339A
secondary
#B7BA6F
accent
#DA4ED4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #37339A

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

Preview Lab → · Contrast checker → · Palette generator →

#37339A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva