#3D34B2#3D34B2

#3D34B2 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.3% C 0.191 H 277.6°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#3D34B2
RGBrgb(61, 52, 178)
HSLhsl(244, 55%, 45%)
HSVhsv(244, 71%, 70%)
CMYKcmyk(65.7%, 70.8%, 0%, 30.2%)
CIE-LABlab(31.02, 42.34, -65.44)
CIE-LCHlch(31.02, 77.94, 302.90°)
OKLaboklab(42.34% 0.0253 -0.1889)
OKLCHoklch(42.34% 0.191 277.6)
XYZxyz(11.1857, 6.6615, 42.8072)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D34B2 #A9B234
analogous
#346AB2 #3D34B2 #7C34B2
triadic
#3D34B2 #B23D34 #34B23D
tetradic
#3D34B2 #B2346A #A9B234 #34B27C
square
#3D34B2 #B2346A #A9B234 #34B27C
split-complementary
#3D34B2 #B27C34 #6AB234
monochromatic
#1D1853 #2D2683 #3D34B2 #5E56CE #8B85DB

Accessibility & contrast

On white

9.00
#3D34B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3D34B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D34B2
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D34B2#FFFFFF#000000##FFFFFF
##3D34B21.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3d34b2;
/* rgb */ color: rgb(61, 52, 178);
/* oklch */ color: oklch(42.3% 0.191 277.6);
Tailwind
colors: {
  custom: {
    50: '#826dca',
    500: '#3d34b2',
    950: '#000000',
  },
}
SCSS
$custom: #3d34b2;
$custom-light: #826dca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d34b2",
  "rgb": {
    "r": 61,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 244.286,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42342,
    "c": 0.19061,
    "h": 277.6
  },
  "luminance": 0.06662
}

Semantic roles & 50–950 ramp

primary
#3D34B2
secondary
#C0C57D
accent
#DE4AD4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3D34B2

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

Preview Lab → · Contrast checker → · Palette generator →

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