#3D388E#3D388E

#3D388E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.8% C 0.138 H 280.7°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#3D388E
RGBrgb(61, 56, 142)
HSLhsl(243, 43%, 39%)
HSVhsv(243, 61%, 56%)
CMYKcmyk(57%, 60.6%, 0%, 44.3%)
CIE-LABlab(28.83, 27.87, -47.21)
CIE-LCHlch(28.83, 54.82, 300.55°)
OKLaboklab(39.79% 0.0256 -0.1354)
OKLCHoklch(39.79% 0.138 280.7)
XYZxyz(8.2196, 5.7729, 26.2671)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D388E #898E38
analogous
#385E8E #3D388E #68388E
triadic
#3D388E #8E3D38 #388E3D
tetradic
#3D388E #8E385E #898E38 #388E68
square
#3D388E #8E385E #898E38 #388E68
split-complementary
#3D388E #8E6838 #5E8E38
monochromatic
#171536 #2A2762 #3D388E #514BB8 #7C77C9

Accessibility & contrast

On white

9.75
#3D388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3D388E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D388E
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D388E#FFFFFF#000000##FFFFFF
##3D388E1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#00418C
Tritanopia (blue-blind)
#144C5D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3d388e;
/* rgb */ color: rgb(61, 56, 142);
/* oklch */ color: oklch(39.8% 0.138 280.7);
Tailwind
colors: {
  custom: {
    50: '#7a6fb0',
    500: '#3d388e',
    950: '#000000',
  },
}
SCSS
$custom: #3d388e;
$custom-light: #7a6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d388e",
  "rgb": {
    "r": 61,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 243.488,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39789,
    "c": 0.13782,
    "h": 280.7
  },
  "luminance": 0.05773
}

Semantic roles & 50–950 ramp

primary
#3D388E
secondary
#AEB26F
accent
#D355CC
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3D388E

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

Preview Lab → · Contrast checker → · Palette generator →

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