#3D368E#3D368E

#3D368E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.141 H 281.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#3D368E
RGBrgb(61, 54, 142)
HSLhsl(245, 45%, 38%)
HSVhsv(245, 62%, 56%)
CMYKcmyk(57%, 62%, 0%, 44.3%)
CIE-LABlab(28.33, 29.16, -48.01)
CIE-LCHlch(28.33, 56.17, 301.27°)
OKLaboklab(39.42% 0.0277 -0.1378)
OKLCHoklch(39.42% 0.141 281.4)
XYZxyz(8.1246, 5.5829, 26.2354)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D368E #878E36
analogous
#365B8E #3D368E #69368E
triadic
#3D368E #8E3D36 #368E3D
tetradic
#3D368E #8E365B #878E36 #368E69
square
#3D368E #8E365B #878E36 #368E69
split-complementary
#3D368E #8E6936 #5B8E36
monochromatic
#171435 #2A2562 #3D368E #5148B9 #7B74CA

Accessibility & contrast

On white

9.92
#3D368E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D368E
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D368E#FFFFFF#000000##FFFFFF
##3D368E1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d368e;
/* rgb */ color: rgb(61, 54, 142);
/* oklch */ color: oklch(39.4% 0.141 281.4);
Tailwind
colors: {
  custom: {
    50: '#7b6db0',
    500: '#3d368e',
    950: '#000000',
  },
}
SCSS
$custom: #3d368e;
$custom-light: #7b6db0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d368e",
  "rgb": {
    "r": 61,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 244.773,
    "s": 44.898,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39423,
    "c": 0.14056,
    "h": 281.4
  },
  "luminance": 0.05583
}

Semantic roles & 50–950 ramp

primary
#3D368E
secondary
#ADB36D
accent
#D553CA
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3D368E

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

Preview Lab → · Contrast checker → · Palette generator →

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