#37339E#37339E

#37339E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.167 H 277.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#37339E
RGBrgb(55, 51, 158)
HSLhsl(242, 51%, 41%)
HSVhsv(242, 68%, 62%)
CMYKcmyk(65.2%, 67.7%, 0%, 38%)
CIE-LABlab(28.51, 35.46, -57.56)
CIE-LCHlch(28.51, 67.60, 301.64°)
OKLaboklab(39.85% 0.0212 -0.166)
OKLCHoklch(39.85% 0.167 277.3)
XYZxyz(8.9289, 5.6478, 32.9607)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37339E #9A9E33
analogous
#33649E #37339E #6C339E
triadic
#37339E #9E3733 #339E37
tetradic
#37339E #9E3364 #9A9E33 #339E6C
square
#37339E #9E3364 #9A9E33 #339E6C
split-complementary
#37339E #9E6C33 #649E33
monochromatic
#171541 #272470 #37339E #4E4AC4 #7B78D3

Accessibility & contrast

On white

9.86
#37339E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#37339E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37339E
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37339E#FFFFFF#000000##FFFFFF
##37339E1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #37339e;
/* rgb */ color: rgb(55, 51, 158);
/* oklch */ color: oklch(39.9% 0.167 277.3);
Tailwind
colors: {
  custom: {
    50: '#7b6bbc',
    500: '#37339e',
    950: '#000000',
  },
}
SCSS
$custom: #37339e;
$custom-light: #7b6bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#37339e",
  "rgb": {
    "r": 55,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 242.243,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.3985,
    "c": 0.16736,
    "h": 277.3
  },
  "luminance": 0.05648
}

Semantic roles & 50–950 ramp

primary
#37339E
secondary
#B9BC71
accent
#DB4DD5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #37339E

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

Preview Lab → · Contrast checker → · Palette generator →

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