#3D42C9#3D42C9

#3D42C9 is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 46.7% C 0.204 H 273.6°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#3D42C9
RGBrgb(61, 66, 201)
HSLhsl(238, 56%, 51%)
HSVhsv(238, 70%, 79%)
CMYKcmyk(69.7%, 67.2%, 0%, 21.2%)
CIE-LABlab(36.18, 41.69, -70.50)
CIE-LCHlch(36.18, 81.91, 300.60°)
OKLaboklab(46.71% 0.0129 -0.2037)
OKLCHoklch(46.71% 0.204 273.6)
XYZxyz(14.4118, 9.1042, 56.2448)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D42C9 #C9C43D
analogous
#3D88C9 #3D42C9 #7E3DC9
triadic
#3D42C9 #C93D42 #42C93D
tetradic
#3D42C9 #C93D88 #C9C43D #3DC97E
square
#3D42C9 #C93D88 #C9C43D #3DC97E
split-complementary
#3D42C9 #C97E3D #88C93D
monochromatic
#1E216D #2C309D #3D42C9 #6D71D6 #9D9FE4

Accessibility & contrast

On white

7.44
#3D42C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3D42C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D42C9
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D42C9#FFFFFF#000000##FFFFFF
##3D42C91.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCD
Deuteranopia (green-blind)
#004FC6
Tritanopia (blue-blind)
#006680
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3d42c9;
/* rgb */ color: rgb(61, 66, 201);
/* oklch */ color: oklch(46.7% 0.204 273.6);
Tailwind
colors: {
  custom: {
    50: '#8577db',
    500: '#3d42c9',
    950: '#000000',
  },
}
SCSS
$custom: #3d42c9;
$custom-light: #8577db;
$custom-dark: #000000;
JSON
{
  "hex": "#3d42c9",
  "rgb": {
    "r": 61,
    "g": 66,
    "b": 201
  },
  "hsl": {
    "h": 237.857,
    "s": 56.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.46706,
    "c": 0.20412,
    "h": 273.6
  },
  "luminance": 0.09106
}

Semantic roles & 50–950 ramp

primary
#3D42C9
secondary
#D0CE92
accent
#DA48E0
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #3D42C9

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

Preview Lab → · Contrast checker → · Palette generator →

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