#3D42CE#3D42CE

#3D42CE is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.2% C 0.210 H 273.3°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#3D42CE
RGBrgb(61, 66, 206)
HSLhsl(238, 60%, 52%)
HSVhsv(238, 70%, 81%)
CMYKcmyk(70.4%, 68%, 0%, 19.2%)
CIE-LABlab(36.64, 43.37, -72.66)
CIE-LCHlch(36.64, 84.62, 300.84°)
OKLaboklab(47.17% 0.0123 -0.21)
OKLCHoklch(47.17% 0.21 273.3)
XYZxyz(15.0095, 9.3433, 59.3930)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D42CE #CEC93D
analogous
#3D8BCE #3D42CE #813DCE
triadic
#3D42CE #CE3D42 #42CE3D
tetradic
#3D42CE #CE3D8B #CEC93D #3DCE81
square
#3D42CE #CE3D8B #CEC93D #3DCE81
split-complementary
#3D42CE #CE813D #8BCE3D
monochromatic
#1D2073 #292EA4 #3D42CE #6E72DA #9FA1E7

Accessibility & contrast

On white

7.32
#3D42CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#3D42CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D42CE
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D42CE#FFFFFF#000000##FFFFFF
##3D42CE1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD2
Deuteranopia (green-blind)
#004FCB
Tritanopia (blue-blind)
#006883
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3d42ce;
/* rgb */ color: rgb(61, 66, 206);
/* oklch */ color: oklch(47.2% 0.210 273.3);
Tailwind
colors: {
  custom: {
    50: '#8677de',
    500: '#3d42ce',
    950: '#000000',
  },
}
SCSS
$custom: #3d42ce;
$custom-light: #8677de;
$custom-dark: #000000;
JSON
{
  "hex": "#3d42ce",
  "rgb": {
    "r": 61,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 237.931,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47171,
    "c": 0.21039,
    "h": 273.3
  },
  "luminance": 0.09345
}

Semantic roles & 50–950 ramp

primary
#3D42CE
secondary
#D3D194
accent
#DD45E3
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #3D42CE

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

Preview Lab → · Contrast checker → · Palette generator →

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