#3D42D0#3D42D0

#3D42D0 is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.4% C 0.213 H 273.2°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#3D42D0
RGBrgb(61, 66, 208)
HSLhsl(238, 61%, 53%)
HSVhsv(238, 71%, 82%)
CMYKcmyk(70.7%, 68.3%, 0%, 18.4%)
CIE-LABlab(36.82, 44.05, -73.52)
CIE-LCHlch(36.82, 85.70, 300.93°)
OKLaboklab(47.36% 0.0121 -0.2125)
OKLCHoklch(47.36% 0.213 273.2)
XYZxyz(15.2540, 9.4411, 60.6807)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D42D0 #D0CB3D
analogous
#3D8CD0 #3D42D0 #813DD0
triadic
#3D42D0 #D03D42 #42D03D
tetradic
#3D42D0 #D03D8C #D0CB3D #3DD081
square
#3D42D0 #D03D8C #D0CB3D #3DD081
split-complementary
#3D42D0 #D0813D #8CD03D
monochromatic
#1D2076 #292DA7 #3D42D0 #6E72DC #A0A2E8

Accessibility & contrast

On white

7.27
#3D42D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3D42D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D42D0
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D42D0#FFFFFF#000000##FFFFFF
##3D42D01.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED4
Deuteranopia (green-blind)
#0050CD
Tritanopia (blue-blind)
#006984
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3d42d0;
/* rgb */ color: rgb(61, 66, 208);
/* oklch */ color: oklch(47.4% 0.213 273.2);
Tailwind
colors: {
  custom: {
    50: '#8777e0',
    500: '#3d42d0',
    950: '#000000',
  },
}
SCSS
$custom: #3d42d0;
$custom-light: #8777e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d42d0",
  "rgb": {
    "r": 61,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 237.959,
    "s": 60.996,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47359,
    "c": 0.21287,
    "h": 273.2
  },
  "luminance": 0.09443
}

Semantic roles & 50–950 ramp

primary
#3D42D0
secondary
#D4D295
accent
#DF44E4
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #3D42D0

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

Preview Lab → · Contrast checker → · Palette generator →

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