#373F99#373F99

#373F99 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.6% C 0.145 H 274.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#373F99
RGBrgb(55, 63, 153)
HSLhsl(235, 47%, 41%)
HSVhsv(235, 64%, 60%)
CMYKcmyk(64.1%, 58.8%, 0%, 40%)
CIE-LABlab(31.04, 26.01, -50.39)
CIE-LCHlch(31.04, 56.71, 297.30°)
OKLaboklab(41.58% 0.011 -0.1449)
OKLCHoklch(41.58% 0.145 274.3)
XYZxyz(9.1009, 6.6664, 30.9380)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373F99 #999137
analogous
#377099 #373F99 #603799
triadic
#373F99 #99373F #3F9937
tetradic
#373F99 #993770 #999137 #379960
square
#373F99 #993770 #999137 #379960
split-complementary
#373F99 #996037 #709937
monochromatic
#171A3F #272C6C #373F99 #4E57BF #7B82D0

Accessibility & contrast

On white

9.00
#373F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#373F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373F99
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373F99#FFFFFF#000000##FFFFFF
##373F991.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #373f99;
/* rgb */ color: rgb(55, 63, 153);
/* oklch */ color: oklch(41.6% 0.145 274.3);
Tailwind
colors: {
  custom: {
    50: '#7974b8',
    500: '#373f99',
    950: '#000000',
  },
}
SCSS
$custom: #373f99;
$custom-light: #7974b8;
$custom-dark: #000000;
JSON
{
  "hex": "#373f99",
  "rgb": {
    "r": 55,
    "g": 63,
    "b": 153
  },
  "hsl": {
    "h": 235.102,
    "s": 47.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41576,
    "c": 0.14531,
    "h": 274.3
  },
  "luminance": 0.06667
}

Semantic roles & 50–950 ramp

primary
#373F99
secondary
#B9B373
accent
#CC51D7
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #373F99

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

Preview Lab → · Contrast checker → · Palette generator →

#373F99 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva