#3D378E#3D378E

#3D378E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.139 H 281.0°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#3D378E
RGBrgb(61, 55, 142)
HSLhsl(244, 44%, 39%)
HSVhsv(244, 61%, 56%)
CMYKcmyk(57%, 61.3%, 0%, 44.3%)
CIE-LABlab(28.58, 28.51, -47.61)
CIE-LCHlch(28.58, 55.50, 300.92°)
OKLaboklab(39.61% 0.0267 -0.1366)
OKLCHoklch(39.61% 0.139 281)
XYZxyz(8.1716, 5.6770, 26.2511)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D378E #888E37
analogous
#375C8E #3D378E #68378E
triadic
#3D378E #8E3D37 #378E3D
tetradic
#3D378E #8E375C #888E37 #378E68
square
#3D378E #8E375C #888E37 #378E68
split-complementary
#3D378E #8E6837 #5C8E37
monochromatic
#171536 #2A2662 #3D378E #5149B9 #7B76CA

Accessibility & contrast

On white

9.83
#3D378E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3D378E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D378E
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D378E#FFFFFF#000000##FFFFFF
##3D378E1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#154C5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3d378e;
/* rgb */ color: rgb(61, 55, 142);
/* oklch */ color: oklch(39.6% 0.139 281.0);
Tailwind
colors: {
  custom: {
    50: '#7a6eb0',
    500: '#3d378e',
    950: '#000000',
  },
}
SCSS
$custom: #3d378e;
$custom-light: #7a6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d378e",
  "rgb": {
    "r": 61,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 244.138,
    "s": 44.162,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39605,
    "c": 0.1392,
    "h": 281
  },
  "luminance": 0.05677
}

Semantic roles & 50–950 ramp

primary
#3D378E
secondary
#AEB36E
accent
#D454CB
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3D378E

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

Preview Lab → · Contrast checker → · Palette generator →

#3D378E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva