#3D387D#3D387D

#3D387D is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.5% C 0.113 H 283.0°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#3D387D
RGBrgb(61, 56, 125)
HSLhsl(244, 38%, 35%)
HSVhsv(244, 55%, 49%)
CMYKcmyk(51.2%, 55.2%, 0%, 51%)
CIE-LABlab(27.58, 22.15, -38.66)
CIE-LCHlch(27.58, 44.55, 299.81°)
OKLaboklab(38.46% 0.0254 -0.1103)
OKLCHoklch(38.46% 0.113 283)
XYZxyz(7.0392, 5.3008, 20.0503)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D387D #787D38
analogous
#38557D #3D387D #5F387D
triadic
#3D387D #7D3D38 #387D3D
tetradic
#3D387D #7D3855 #787D38 #387D5F
square
#3D387D #7D3855 #787D38 #387D5F
split-complementary
#3D387D #7D5F38 #557D38
monochromatic
#141228 #282553 #3D387D #524BA7 #7670BF

Accessibility & contrast

On white

10.19
#3D387D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3D387D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D387D
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D387D#FFFFFF#000000##FFFFFF
##3D387D1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13437F
Deuteranopia (green-blind)
#0E3F7C
Tritanopia (blue-blind)
#254755
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3d387d;
/* rgb */ color: rgb(61, 56, 125);
/* oklch */ color: oklch(38.5% 0.113 283.0);
Tailwind
colors: {
  custom: {
    50: '#786ea3',
    500: '#3d387d',
    950: '#000000',
  },
}
SCSS
$custom: #3d387d;
$custom-light: #786ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d387d",
  "rgb": {
    "r": 61,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 244.348,
    "s": 38.122,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38457,
    "c": 0.11314,
    "h": 283
  },
  "luminance": 0.05301
}

Semantic roles & 50–950 ramp

primary
#3D387D
secondary
#A3A869
accent
#CE5AC6
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #3D387D

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

Preview Lab → · Contrast checker → · Palette generator →

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