#37339F#37339F

#37339F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.9% C 0.169 H 277.2°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#37339F
RGBrgb(55, 51, 159)
HSLhsl(242, 51%, 41%)
HSVhsv(242, 68%, 62%)
CMYKcmyk(65.4%, 67.9%, 0%, 37.6%)
CIE-LABlab(28.60, 35.80, -58.01)
CIE-LCHlch(28.60, 68.17, 301.68°)
OKLaboklab(39.94% 0.0211 -0.1673)
OKLCHoklch(39.94% 0.169 277.2)
XYZxyz(9.0154, 5.6823, 33.4159)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37339F #9B9F33
analogous
#33659F #37339F #6D339F
triadic
#37339F #9F3733 #339F37
tetradic
#37339F #9F3365 #9B9F33 #339F6D
square
#37339F #9F3365 #9B9F33 #339F6D
split-complementary
#37339F #9F6D33 #659F33
monochromatic
#171542 #272471 #37339F #4F4AC5 #7C79D4

Accessibility & contrast

On white

9.83
#37339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#37339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37339F
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37339F#FFFFFF#000000##FFFFFF
##37339F1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #37339f;
/* rgb */ color: rgb(55, 51, 159);
/* oklch */ color: oklch(39.9% 0.169 277.2);
Tailwind
colors: {
  custom: {
    50: '#7b6bbc',
    500: '#37339f',
    950: '#000000',
  },
}
SCSS
$custom: #37339f;
$custom-light: #7b6bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#37339f",
  "rgb": {
    "r": 55,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 242.222,
    "s": 51.429,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39943,
    "c": 0.16867,
    "h": 277.2
  },
  "luminance": 0.05683
}

Semantic roles & 50–950 ramp

primary
#37339F
secondary
#BABC71
accent
#DB4DD6
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #37339F

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

Preview Lab → · Contrast checker → · Palette generator →

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