#37299B#37299B

#37299B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.175 H 279.6°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#37299B
RGBrgb(55, 41, 155)
HSLhsl(247, 58%, 38%)
HSVhsv(247, 74%, 61%)
CMYKcmyk(64.5%, 73.5%, 0%, 39.2%)
CIE-LABlab(26.05, 40.42, -59.75)
CIE-LCHlch(26.05, 72.14, 304.08°)
OKLaboklab(38% 0.0292 -0.1724)
OKLCHoklch(38% 0.175 279.6)
XYZxyz(8.2830, 4.7640, 31.4870)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37299B #8D9B29
analogous
#29549B #37299B #70299B
triadic
#37299B #9B3729 #299B37
tetradic
#37299B #9B2954 #8D9B29 #299B70
square
#37299B #9B2954 #8D9B29 #299B70
split-complementary
#37299B #9B7029 #549B29
monochromatic
#150F3A #261C6B #37299B #4937CA #7567D7

Accessibility & contrast

On white

10.75
#37299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#37299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37299B
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37299B#FFFFFF#000000##FFFFFF
##37299B1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003999
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #37299b;
/* rgb */ color: rgb(55, 41, 155);
/* oklch */ color: oklch(38.0% 0.175 279.6);
Tailwind
colors: {
  custom: {
    50: '#7b65ba',
    500: '#37299b',
    950: '#000000',
  },
}
SCSS
$custom: #37299b;
$custom-light: #7b65ba;
$custom-dark: #000000;
JSON
{
  "hex": "#37299b",
  "rgb": {
    "r": 55,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 247.368,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38003,
    "c": 0.17488,
    "h": 279.6
  },
  "luminance": 0.04765
}

Semantic roles & 50–950 ramp

primary
#37299B
secondary
#B2BD63
accent
#E146CE
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #37299B

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

Preview Lab → · Contrast checker → · Palette generator →

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