#37338B#37338B

#37338B is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.142 H 279.3°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#37338B
RGBrgb(55, 51, 139)
HSLhsl(243, 46%, 37%)
HSVhsv(243, 63%, 55%)
CMYKcmyk(60.4%, 63.3%, 0%, 45.5%)
CIE-LABlab(26.86, 28.94, -48.58)
CIE-LCHlch(26.86, 56.55, 300.78°)
OKLaboklab(38.14% 0.0229 -0.1397)
OKLCHoklch(38.14% 0.142 279.3)
XYZxyz(7.4181, 5.0434, 25.0037)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37338B #878B33
analogous
#335B8B #37338B #63338B
triadic
#37338B #8B3733 #338B37
tetradic
#37338B #8B335B #878B33 #338B63
square
#37338B #8B335B #878B33 #338B63
split-complementary
#37338B #8B6333 #5B8B33
monochromatic
#141231 #25235E #37338B #4943B8 #736ECA

Accessibility & contrast

On white

10.45
#37338B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#37338B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37338B
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37338B#FFFFFF#000000##FFFFFF
##37338B1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #37338b;
/* rgb */ color: rgb(55, 51, 139);
/* oklch */ color: oklch(38.1% 0.142 279.3);
Tailwind
colors: {
  custom: {
    50: '#776bae',
    500: '#37338b',
    950: '#000000',
  },
}
SCSS
$custom: #37338b;
$custom-light: #776bae;
$custom-dark: #000000;
JSON
{
  "hex": "#37338b",
  "rgb": {
    "r": 55,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 242.727,
    "s": 46.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38139,
    "c": 0.14154,
    "h": 279.3
  },
  "luminance": 0.05044
}

Semantic roles & 50–950 ramp

primary
#37338B
secondary
#AFB268
accent
#D652D0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #37338B

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

Preview Lab → · Contrast checker → · Palette generator →

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