#37339C#37339C

#37339C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.165 H 277.5°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#37339C
RGBrgb(55, 51, 156)
HSLhsl(242, 51%, 41%)
HSVhsv(242, 67%, 61%)
CMYKcmyk(64.7%, 67.3%, 0%, 38.8%)
CIE-LABlab(28.33, 34.78, -56.63)
CIE-LCHlch(28.33, 66.46, 301.55°)
OKLaboklab(39.66% 0.0214 -0.1633)
OKLCHoklch(39.66% 0.165 277.5)
XYZxyz(8.7582, 5.5795, 32.0615)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37339C #989C33
analogous
#33639C #37339C #6B339C
triadic
#37339C #9C3733 #339C37
tetradic
#37339C #9C3363 #989C33 #339C6B
square
#37339C #9C3363 #989C33 #339C6B
split-complementary
#37339C #9C6B33 #639C33
monochromatic
#161540 #27246E #37339C #4D49C3 #7A77D3

Accessibility & contrast

On white

9.92
#37339C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#37339C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37339C
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37339C#FFFFFF#000000##FFFFFF
##37339C1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #37339c;
/* rgb */ color: rgb(55, 51, 156);
/* oklch */ color: oklch(39.7% 0.165 277.5);
Tailwind
colors: {
  custom: {
    50: '#7a6bba',
    500: '#37339c',
    950: '#000000',
  },
}
SCSS
$custom: #37339c;
$custom-light: #7a6bba;
$custom-dark: #000000;
JSON
{
  "hex": "#37339c",
  "rgb": {
    "r": 55,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 242.286,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39664,
    "c": 0.16471,
    "h": 277.5
  },
  "luminance": 0.0558
}

Semantic roles & 50–950 ramp

primary
#37339C
secondary
#B8BB70
accent
#DA4ED5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #37339C

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

Preview Lab → · Contrast checker → · Palette generator →

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