#37338D#37338D

#37338D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.144 H 279.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#37338D
RGBrgb(55, 51, 141)
HSLhsl(243, 47%, 38%)
HSVhsv(243, 64%, 55%)
CMYKcmyk(61%, 63.8%, 0%, 44.7%)
CIE-LABlab(27.02, 29.63, -49.55)
CIE-LCHlch(27.02, 57.73, 300.88°)
OKLaboklab(38.31% 0.0228 -0.1425)
OKLCHoklch(38.31% 0.144 279.1)
XYZxyz(7.5656, 5.1024, 25.7803)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37338D #898D33
analogous
#335C8D #37338D #64338D
triadic
#37338D #8D3733 #338D37
tetradic
#37338D #8D335C #898D33 #338D64
square
#37338D #8D335C #898D33 #338D64
split-complementary
#37338D #8D6433 #5C8D33
monochromatic
#141233 #252360 #37338D #4943BA #736FCB

Accessibility & contrast

On white

10.39
#37338D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#37338D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37338D
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37338D#FFFFFF#000000##FFFFFF
##37338D1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #37338d;
/* rgb */ color: rgb(55, 51, 141);
/* oklch */ color: oklch(38.3% 0.144 279.1);
Tailwind
colors: {
  custom: {
    50: '#776baf',
    500: '#37338d',
    950: '#000000',
  },
}
SCSS
$custom: #37338d;
$custom-light: #776baf;
$custom-dark: #000000;
JSON
{
  "hex": "#37338d",
  "rgb": {
    "r": 55,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 242.667,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38313,
    "c": 0.14433,
    "h": 279.1
  },
  "luminance": 0.05103
}

Semantic roles & 50–950 ramp

primary
#37338D
secondary
#B0B369
accent
#D751D1
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #37338D

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

Preview Lab → · Contrast checker → · Palette generator →

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