#373BAF#373BAF

#373BAF is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.180 H 274.2°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#373BAF
RGBrgb(55, 59, 175)
HSLhsl(238, 52%, 45%)
HSVhsv(238, 69%, 69%)
CMYKcmyk(68.6%, 66.3%, 0%, 31.4%)
CIE-LABlab(31.88, 36.33, -62.25)
CIE-LCHlch(31.88, 72.08, 300.27°)
OKLaboklab(42.77% 0.0133 -0.1797)
OKLCHoklch(42.77% 0.18 274.2)
XYZxyz(10.8748, 7.0343, 41.3338)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#373BAF #AFAB37
analogous
#3777AF #373BAF #6F37AF
triadic
#373BAF #AF373B #3BAF37
tetradic
#373BAF #AF3777 #AFAB37 #37AF6F
square
#373BAF #AF3777 #AFAB37 #37AF6F
split-complementary
#373BAF #AF6F37 #77AF37
monochromatic
#1A1C52 #282B80 #373BAF #595CCB #878AD9

Accessibility & contrast

On white

8.72
#373BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#373BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #373BAF
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##373BAF#FFFFFF#000000##FFFFFF
##373BAF1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0046AD
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #373baf;
/* rgb */ color: rgb(55, 59, 175);
/* oklch */ color: oklch(42.8% 0.180 274.2);
Tailwind
colors: {
  custom: {
    50: '#7e71c8',
    500: '#373baf',
    950: '#000000',
  },
}
SCSS
$custom: #373baf;
$custom-light: #7e71c8;
$custom-dark: #000000;
JSON
{
  "hex": "#373baf",
  "rgb": {
    "r": 55,
    "g": 59,
    "b": 175
  },
  "hsl": {
    "h": 238,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42772,
    "c": 0.18024,
    "h": 274.2
  },
  "luminance": 0.07035
}

Semantic roles & 50–950 ramp

primary
#373BAF
secondary
#C3C17F
accent
#D74CDC
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #373BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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