#3D368F#3D368F

#3D368F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.142 H 281.2°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#3D368F
RGBrgb(61, 54, 143)
HSLhsl(245, 45%, 39%)
HSVhsv(245, 62%, 56%)
CMYKcmyk(57.3%, 62.2%, 0%, 43.9%)
CIE-LABlab(28.41, 29.49, -48.50)
CIE-LCHlch(28.41, 56.76, 301.30°)
OKLaboklab(39.51% 0.0277 -0.1392)
OKLCHoklch(39.51% 0.142 281.2)
XYZxyz(8.2000, 5.6131, 26.6326)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D368F #888F36
analogous
#365B8F #3D368F #69368F
triadic
#3D368F #8F3D36 #368F3D
tetradic
#3D368F #8F365B #888F36 #368F69
square
#3D368F #8F365B #888F36 #368F69
split-complementary
#3D368F #8F6936 #5B8F36
monochromatic
#171436 #2A2563 #3D368F #5148BA #7B75CB

Accessibility & contrast

On white

9.89
#3D368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3D368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D368F
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D368F#FFFFFF#000000##FFFFFF
##3D368F1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#134B5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3d368f;
/* rgb */ color: rgb(61, 54, 143);
/* oklch */ color: oklch(39.5% 0.142 281.2);
Tailwind
colors: {
  custom: {
    50: '#7b6db0',
    500: '#3d368f',
    950: '#000000',
  },
}
SCSS
$custom: #3d368f;
$custom-light: #7b6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d368f",
  "rgb": {
    "r": 61,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 244.719,
    "s": 45.178,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39507,
    "c": 0.14196,
    "h": 281.2
  },
  "luminance": 0.05614
}

Semantic roles & 50–950 ramp

primary
#3D368F
secondary
#AEB36D
accent
#D553CB
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0711
muted
#7C7A80

Preview Lab

Preview with #3D368F

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

Preview Lab → · Contrast checker → · Palette generator →

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