#3D34A2#3D34A2

#3D34A2 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.8% C 0.170 H 279.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#3D34A2
RGBrgb(61, 52, 162)
HSLhsl(245, 51%, 42%)
HSVhsv(245, 68%, 64%)
CMYKcmyk(62.3%, 67.9%, 0%, 36.5%)
CIE-LABlab(29.55, 37.08, -58.25)
CIE-LCHlch(29.55, 69.05, 302.48°)
OKLaboklab(40.84% 0.0278 -0.1679)
OKLCHoklch(40.84% 0.17 279.4)
XYZxyz(9.6720, 6.0560, 34.8347)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D34A2 #99A234
analogous
#3462A2 #3D34A2 #7434A2
triadic
#3D34A2 #A23D34 #34A23D
tetradic
#3D34A2 #A23462 #99A234 #34A274
square
#3D34A2 #A23462 #99A234 #34A274
split-complementary
#3D34A2 #A27434 #62A234
monochromatic
#1A1645 #2C2574 #3D34A2 #574DC6 #837CD5

Accessibility & contrast

On white

9.50
#3D34A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3D34A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D34A2
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D34A2#FFFFFF#000000##FFFFFF
##3D34A21.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#0041A0
Tritanopia (blue-blind)
#005166
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3d34a2;
/* rgb */ color: rgb(61, 52, 162);
/* oklch */ color: oklch(40.8% 0.170 279.4);
Tailwind
colors: {
  custom: {
    50: '#7e6cbe',
    500: '#3d34a2',
    950: '#000000',
  },
}
SCSS
$custom: #3d34a2;
$custom-light: #7e6cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3d34a2",
  "rgb": {
    "r": 61,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 244.909,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40836,
    "c": 0.17014,
    "h": 279.4
  },
  "luminance": 0.06057
}

Semantic roles & 50–950 ramp

primary
#3D34A2
secondary
#B8BE74
accent
#DB4DCF
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3D34A2

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

Preview Lab → · Contrast checker → · Palette generator →

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