#3D43A2#3D43A2

#3D43A2 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.5% C 0.151 H 275.4°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#3D43A2
RGBrgb(61, 67, 162)
HSLhsl(236, 45%, 44%)
HSVhsv(236, 62%, 64%)
CMYKcmyk(62.3%, 58.6%, 0%, 36.5%)
CIE-LABlab(33.17, 27.62, -52.36)
CIE-LCHlch(33.17, 59.19, 297.81°)
OKLaboklab(43.48% 0.0143 -0.1505)
OKLCHoklch(43.48% 0.151 275.4)
XYZxyz(10.4511, 7.6142, 35.0944)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D43A2 #A29C3D
analogous
#3D75A2 #3D43A2 #693DA2
triadic
#3D43A2 #A23D43 #43A23D
tetradic
#3D43A2 #A23D75 #A29C3D #3DA269
square
#3D43A2 #A23D75 #A29C3D #3DA269
split-complementary
#3D43A2 #A2693D #75A23D
monochromatic
#1C1E49 #2C3176 #3D43A2 #5B61C1 #878CD2

Accessibility & contrast

On white

8.32
#3D43A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3D43A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D43A2
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D43A2#FFFFFF#000000##FFFFFF
##3D43A21.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3d43a2;
/* rgb */ color: rgb(61, 67, 162);
/* oklch */ color: oklch(43.5% 0.151 275.4);
Tailwind
colors: {
  custom: {
    50: '#7d77be',
    500: '#3d43a2',
    950: '#000000',
  },
}
SCSS
$custom: #3d43a2;
$custom-light: #7d77be;
$custom-dark: #000000;
JSON
{
  "hex": "#3d43a2",
  "rgb": {
    "r": 61,
    "g": 67,
    "b": 162
  },
  "hsl": {
    "h": 236.436,
    "s": 45.291,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43483,
    "c": 0.15116,
    "h": 275.4
  },
  "luminance": 0.07615
}

Semantic roles & 50–950 ramp

primary
#3D43A2
secondary
#BCB97E
accent
#CD53D5
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3D43A2

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

Preview Lab → · Contrast checker → · Palette generator →

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