#3B42DD#3B42DD

#3B42DD is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.5% C 0.229 H 272.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#3B42DD
RGBrgb(59, 66, 221)
HSLhsl(237, 70%, 55%)
HSVhsv(237, 73%, 87%)
CMYKcmyk(73.3%, 70.1%, 0%, 13.3%)
CIE-LABlab(37.92, 48.17, -79.19)
CIE-LCHlch(37.92, 92.69, 301.31°)
OKLaboklab(48.49% 0.0082 -0.2291)
OKLCHoklch(48.49% 0.229 272.1)
XYZxyz(16.7986, 10.0449, 69.4461)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B42DD #DDD63B
analogous
#3B93DD #3B42DD #853BDD
triadic
#3B42DD #DD3B42 #42DD3B
tetradic
#3B42DD #DD3B93 #DDD63B #3BDD85
square
#3B42DD #DD3B93 #DDD63B #3BDD85
split-complementary
#3B42DD #DD853B #93DD3B
monochromatic
#171C86 #2027BA #3B42DD #6F74E6 #A3A7EF

Accessibility & contrast

On white

6.98
#3B42DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3B42DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B42DD
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B42DD#FFFFFF#000000##FFFFFF
##3B42DD1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E2
Deuteranopia (green-blind)
#0051DA
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3b42dd;
/* rgb */ color: rgb(59, 66, 221);
/* oklch */ color: oklch(48.5% 0.229 272.1);
Tailwind
colors: {
  custom: {
    50: '#8977e9',
    500: '#3b42dd',
    950: '#000000',
  },
}
SCSS
$custom: #3b42dd;
$custom-light: #8977e9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b42dd",
  "rgb": {
    "r": 59,
    "g": 66,
    "b": 221
  },
  "hsl": {
    "h": 237.407,
    "s": 70.435,
    "l": 54.902
  },
  "oklch": {
    "l": 0.48491,
    "c": 0.22928,
    "h": 272.1
  },
  "luminance": 0.10047
}

Semantic roles & 50–950 ramp

primary
#3B42DD
secondary
#DCD998
accent
#E53BED
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3B42DD

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

Preview Lab → · Contrast checker → · Palette generator →

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