#37339D#37339D

#37339D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.166 H 277.4°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#37339D
RGBrgb(55, 51, 157)
HSLhsl(242, 51%, 41%)
HSVhsv(242, 68%, 62%)
CMYKcmyk(65%, 67.5%, 0%, 38.4%)
CIE-LABlab(28.42, 35.12, -57.09)
CIE-LCHlch(28.42, 67.03, 301.60°)
OKLaboklab(39.76% 0.0213 -0.1647)
OKLCHoklch(39.76% 0.166 277.4)
XYZxyz(8.8432, 5.6135, 32.5092)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37339D #999D33
analogous
#33649D #37339D #6C339D
triadic
#37339D #9D3733 #339D37
tetradic
#37339D #9D3364 #999D33 #339D6C
square
#37339D #9D3364 #999D33 #339D6C
split-complementary
#37339D #9D6C33 #649D33
monochromatic
#171541 #27246F #37339D #4E49C4 #7B77D3

Accessibility & contrast

On white

9.89
#37339D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #37339D
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37339D#FFFFFF#000000##FFFFFF
##37339D1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#003F9B
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #37339d;
/* rgb */ color: rgb(55, 51, 157);
/* oklch */ color: oklch(39.8% 0.166 277.4);
Tailwind
colors: {
  custom: {
    50: '#7b6bbb',
    500: '#37339d',
    950: '#000000',
  },
}
SCSS
$custom: #37339d;
$custom-light: #7b6bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#37339d",
  "rgb": {
    "r": 55,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 242.264,
    "s": 50.962,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39757,
    "c": 0.16603,
    "h": 277.4
  },
  "luminance": 0.05614
}

Semantic roles & 50–950 ramp

primary
#37339D
secondary
#B9BB70
accent
#DA4DD5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #37339D

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

Preview Lab → · Contrast checker → · Palette generator →

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