#3B42DE#3B42DE

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

Color values

HEX#3B42DE
RGBrgb(59, 66, 222)
HSLhsl(237, 71%, 55%)
HSVhsv(237, 73%, 87%)
CMYKcmyk(73.4%, 70.3%, 0%, 12.9%)
CIE-LABlab(38.02, 48.50, -79.60)
CIE-LCHlch(38.02, 93.21, 301.35°)
OKLaboklab(48.59% 0.0081 -0.2303)
OKLCHoklch(48.59% 0.23 272)
XYZxyz(16.9322, 10.0984, 70.1499)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B42DE #DED73B
analogous
#3B94DE #3B42DE #853BDE
triadic
#3B42DE #DE3B42 #42DE3B
tetradic
#3B42DE #DE3B94 #DED73B #3BDE85
square
#3B42DE #DE3B94 #DED73B #3BDE85
split-complementary
#3B42DE #DE853B #94DE3B
monochromatic
#171C88 #2026BC #3B42DE #6F75E7 #A4A7F0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B42DE#FFFFFF#000000##FFFFFF
##3B42DE1.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)
#0061E3
Deuteranopia (green-blind)
#0052DB
Tritanopia (blue-blind)
#006E8B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3b42de;
/* rgb */ color: rgb(59, 66, 222);
/* oklch */ color: oklch(48.6% 0.230 272.0);
Tailwind
colors: {
  custom: {
    50: '#8977ea',
    500: '#3b42de',
    950: '#000000',
  },
}
SCSS
$custom: #3b42de;
$custom-light: #8977ea;
$custom-dark: #000000;
JSON
{
  "hex": "#3b42de",
  "rgb": {
    "r": 59,
    "g": 66,
    "b": 222
  },
  "hsl": {
    "h": 237.423,
    "s": 71.179,
    "l": 55.098
  },
  "oklch": {
    "l": 0.48588,
    "c": 0.23048,
    "h": 272
  },
  "luminance": 0.101
}

Semantic roles & 50–950 ramp

primary
#3B42DE
secondary
#DDDA98
accent
#E63AEE
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0916
muted
#7E7B84

Preview Lab

Preview with #3B42DE

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

Preview Lab → · Contrast checker → · Palette generator →

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