#37339B#37339B

#37339B is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.6% C 0.163 H 277.6°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#37339B
RGBrgb(55, 51, 155)
HSLhsl(242, 50%, 40%)
HSVhsv(242, 67%, 61%)
CMYKcmyk(64.5%, 67.1%, 0%, 39.2%)
CIE-LABlab(28.24, 34.44, -56.17)
CIE-LCHlch(28.24, 65.89, 301.51°)
OKLaboklab(39.57% 0.0215 -0.1619)
OKLCHoklch(39.57% 0.163 277.6)
XYZxyz(8.6739, 5.5457, 31.6173)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37339B #979B33
analogous
#33639B #37339B #6B339B
triadic
#37339B #9B3733 #339B37
tetradic
#37339B #9B3363 #979B33 #339B6B
square
#37339B #9B3363 #979B33 #339B6B
split-complementary
#37339B #9B6B33 #639B33
monochromatic
#16153F #27246D #37339B #4D48C3 #7A76D2

Accessibility & contrast

On white

9.96
#37339B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#37339B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37339B
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37339B#FFFFFF#000000##FFFFFF
##37339B1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #37339b;
/* rgb */ color: rgb(55, 51, 155);
/* oklch */ color: oklch(39.6% 0.163 277.6);
Tailwind
colors: {
  custom: {
    50: '#7a6bb9',
    500: '#37339b',
    950: '#000000',
  },
}
SCSS
$custom: #37339b;
$custom-light: #7a6bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#37339b",
  "rgb": {
    "r": 55,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 242.308,
    "s": 50.485,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39571,
    "c": 0.16338,
    "h": 277.6
  },
  "luminance": 0.05546
}

Semantic roles & 50–950 ramp

primary
#37339B
secondary
#B8BA6F
accent
#DA4ED5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #37339B

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

Preview Lab → · Contrast checker → · Palette generator →

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