#371DBC#371DBC

#371DBC is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 40.2% C 0.224 H 276.7°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#371DBC
RGBrgb(55, 29, 188)
HSLhsl(250, 73%, 43%)
HSVhsv(250, 85%, 74%)
CMYKcmyk(70.7%, 84.6%, 0%, 26.3%)
CIE-LABlab(27.63, 56.26, -77.00)
CIE-LCHlch(27.63, 95.36, 306.15°)
OKLaboklab(40.16% 0.0262 -0.2225)
OKLCHoklch(40.16% 0.224 276.7)
XYZxyz(11.0891, 5.3208, 48.0098)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371DBC #A2BC1D
analogous
#1D53BC #371DBC #861DBC
triadic
#371DBC #BC371D #1DBC37
tetradic
#371DBC #BC1D53 #A2BC1D #1DBC86
square
#371DBC #BC1D53 #A2BC1D #1DBC86
split-complementary
#371DBC #BC861D #53BC1D
monochromatic
#180D52 #271587 #371DBC #5236E0 #806BE8

Accessibility & contrast

On white

10.17
#371DBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#371DBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371DBC
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371DBC#FFFFFF#000000##FFFFFF
##371DBC1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048C0
Deuteranopia (green-blind)
#003AB9
Tritanopia (blue-blind)
#005170
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #371dbc;
/* rgb */ color: rgb(55, 29, 188);
/* oklch */ color: oklch(40.2% 0.224 276.7);
Tailwind
colors: {
  custom: {
    50: '#8360d2',
    500: '#371dbc',
    950: '#000000',
  },
}
SCSS
$custom: #371dbc;
$custom-light: #8360d2;
$custom-dark: #000000;
JSON
{
  "hex": "#371dbc",
  "rgb": {
    "r": 55,
    "g": 29,
    "b": 188
  },
  "hsl": {
    "h": 249.811,
    "s": 73.272,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4016,
    "c": 0.224,
    "h": 276.7
  },
  "luminance": 0.05322
}

Semantic roles & 50–950 ramp

primary
#371DBC
secondary
#BDCE67
accent
#F038D2
background
#F8F5FD
surface
#F0EAFA
border
#CBC6D3
text
#0D0514
muted
#7D7983

Preview Lab

Preview with #371DBC

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

Preview Lab → · Contrast checker → · Palette generator →

#371DBC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva