#3D42DD#3D42DD

#3D42DD is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.6% C 0.229 H 272.6°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#3D42DD
RGBrgb(61, 66, 221)
HSLhsl(238, 70%, 55%)
HSVhsv(238, 72%, 87%)
CMYKcmyk(72.4%, 70.1%, 0%, 13.3%)
CIE-LABlab(38.03, 48.36, -79.00)
CIE-LCHlch(38.03, 92.63, 301.47°)
OKLaboklab(48.6% 0.0104 -0.2285)
OKLCHoklch(48.6% 0.229 272.6)
XYZxyz(16.9194, 10.1073, 69.4518)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D42DD #DDD83D
analogous
#3D92DD #3D42DD #883DDD
triadic
#3D42DD #DD3D42 #42DD3D
tetradic
#3D42DD #DD3D92 #DDD83D #3DDD88
square
#3D42DD #DD3D92 #DDD83D #3DDD88
split-complementary
#3D42DD #DD883D #92DD3D
monochromatic
#181B88 #2126BC #3D42DD #7175E6 #A5A7EF

Accessibility & contrast

On white

6.95
#3D42DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#3D42DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D42DD
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D42DD#FFFFFF#000000##FFFFFF
##3D42DD1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E2
Deuteranopia (green-blind)
#0052DA
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3d42dd;
/* rgb */ color: rgb(61, 66, 221);
/* oklch */ color: oklch(48.6% 0.229 272.6);
Tailwind
colors: {
  custom: {
    50: '#8a77e9',
    500: '#3d42dd',
    950: '#000000',
  },
}
SCSS
$custom: #3d42dd;
$custom-light: #8a77e9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d42dd",
  "rgb": {
    "r": 61,
    "g": 66,
    "b": 221
  },
  "hsl": {
    "h": 238.125,
    "s": 70.175,
    "l": 55.294
  },
  "oklch": {
    "l": 0.48601,
    "c": 0.22878,
    "h": 272.6
  },
  "luminance": 0.10109
}

Semantic roles & 50–950 ramp

primary
#3D42DD
secondary
#DCDA99
accent
#E73BED
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #3D42DD

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

Preview Lab → · Contrast checker → · Palette generator →

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