#3D43A5#3D43A5

#3D43A5 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.155 H 275.3°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#3D43A5
RGBrgb(61, 67, 165)
HSLhsl(237, 46%, 44%)
HSVhsv(237, 63%, 65%)
CMYKcmyk(63%, 59.4%, 0%, 35.3%)
CIE-LABlab(33.40, 28.66, -53.79)
CIE-LCHlch(33.40, 60.95, 298.05°)
OKLaboklab(43.73% 0.0143 -0.1547)
OKLCHoklch(43.73% 0.155 275.3)
XYZxyz(10.7209, 7.7222, 36.5156)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D43A5 #A59F3D
analogous
#3D77A5 #3D43A5 #6B3DA5
triadic
#3D43A5 #A53D43 #43A53D
tetradic
#3D43A5 #A53D77 #A59F3D #3DA56B
square
#3D43A5 #A53D77 #A59F3D #3DA56B
split-complementary
#3D43A5 #A56B3D #77A53D
monochromatic
#1C1F4C #2C3178 #3D43A5 #5C62C3 #898DD3

Accessibility & contrast

On white

8.25
#3D43A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3D43A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D43A5
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D43A5#FFFFFF#000000##FFFFFF
##3D43A51.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3d43a5;
/* rgb */ color: rgb(61, 67, 165);
/* oklch */ color: oklch(43.7% 0.155 275.3);
Tailwind
colors: {
  custom: {
    50: '#7e77c0',
    500: '#3d43a5',
    950: '#000000',
  },
}
SCSS
$custom: #3d43a5;
$custom-light: #7e77c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d43a5",
  "rgb": {
    "r": 61,
    "g": 67,
    "b": 165
  },
  "hsl": {
    "h": 236.538,
    "s": 46.018,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43728,
    "c": 0.15534,
    "h": 275.3
  },
  "luminance": 0.07723
}

Semantic roles & 50–950 ramp

primary
#3D43A5
secondary
#BEBA80
accent
#CE52D6
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3D43A5

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

Preview Lab → · Contrast checker → · Palette generator →

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