#3F42D0#3F42D0

#3F42D0 is a mid, highly saturated blue. Relative luminance 0.095; OKLCH L 47.5% C 0.212 H 273.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#3F42D0
RGBrgb(63, 66, 208)
HSLhsl(239, 61%, 53%)
HSVhsv(239, 70%, 82%)
CMYKcmyk(69.7%, 68.3%, 0%, 18.4%)
CIE-LABlab(36.94, 44.27, -73.31)
CIE-LCHlch(36.94, 85.64, 301.12°)
OKLaboklab(47.48% 0.0143 -0.2119)
OKLCHoklch(47.48% 0.212 273.9)
XYZxyz(15.3795, 9.5058, 60.6866)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F42D0 #D0CD3F
analogous
#3F8AD0 #3F42D0 #853FD0
triadic
#3F42D0 #D03F42 #42D03F
tetradic
#3F42D0 #D03F8A #D0CD3F #3FD085
square
#3F42D0 #D03F8A #D0CD3F #3FD085
split-complementary
#3F42D0 #D0853F #8AD03F
monochromatic
#1D1F77 #292CA9 #3F42D0 #7072DC #A1A3E8

Accessibility & contrast

On white

7.24
#3F42D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3F42D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F42D0
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F42D0#FFFFFF#000000##FFFFFF
##3F42D01.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.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: #3f42d0;
/* rgb */ color: rgb(63, 66, 208);
/* oklch */ color: oklch(47.5% 0.212 273.9);
Tailwind
colors: {
  custom: {
    50: '#8877e0',
    500: '#3f42d0',
    950: '#000000',
  },
}
SCSS
$custom: #3f42d0;
$custom-light: #8877e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f42d0",
  "rgb": {
    "r": 63,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 238.759,
    "s": 60.669,
    "l": 53.137
  },
  "oklch": {
    "l": 0.47478,
    "c": 0.21238,
    "h": 273.9
  },
  "luminance": 0.09507
}

Semantic roles & 50–950 ramp

primary
#3F42D0
secondary
#D5D396
accent
#E044E4
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #3F42D0

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

Preview Lab → · Contrast checker → · Palette generator →

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