#3D34B3#3D34B3

#3D34B3 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.4% C 0.192 H 277.5°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#3D34B3
RGBrgb(61, 52, 179)
HSLhsl(244, 55%, 45%)
HSVhsv(244, 71%, 70%)
CMYKcmyk(65.9%, 70.9%, 0%, 29.8%)
CIE-LABlab(31.12, 42.66, -65.88)
CIE-LCHlch(31.12, 78.49, 302.93°)
OKLaboklab(42.44% 0.0252 -0.1902)
OKLCHoklch(42.44% 0.192 277.5)
XYZxyz(11.2865, 6.7018, 43.3379)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D34B3 #AAB334
analogous
#346AB3 #3D34B3 #7C34B3
triadic
#3D34B3 #B33D34 #34B33D
tetradic
#3D34B3 #B3346A #AAB334 #34B37C
square
#3D34B3 #B3346A #AAB334 #34B37C
split-complementary
#3D34B3 #B37C34 #6AB334
monochromatic
#1D1854 #2D2684 #3D34B3 #5F56CE #8C86DC

Accessibility & contrast

On white

8.97
#3D34B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#3D34B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D34B3
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D34B3#FFFFFF#000000##FFFFFF
##3D34B31.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3d34b3;
/* rgb */ color: rgb(61, 52, 179);
/* oklch */ color: oklch(42.4% 0.192 277.5);
Tailwind
colors: {
  custom: {
    50: '#826dcb',
    500: '#3d34b3',
    950: '#000000',
  },
}
SCSS
$custom: #3d34b3;
$custom-light: #826dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d34b3",
  "rgb": {
    "r": 61,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 244.252,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42439,
    "c": 0.19186,
    "h": 277.5
  },
  "luminance": 0.06703
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D34B3

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

Preview Lab → · Contrast checker → · Palette generator →

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