#3F42C8#3F42C8

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

Color values

HEX#3F42C8
RGBrgb(63, 66, 200)
HSLhsl(239, 55%, 52%)
HSVhsv(239, 69%, 78%)
CMYKcmyk(68.5%, 67%, 0%, 21.6%)
CIE-LABlab(36.22, 41.59, -69.86)
CIE-LCHlch(36.22, 81.30, 300.77°)
OKLaboklab(46.74% 0.0152 -0.2018)
OKLCHoklch(46.74% 0.202 274.3)
XYZxyz(14.4200, 9.1220, 55.6332)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F42C8 #C8C53F
analogous
#3F87C8 #3F42C8 #813FC8
triadic
#3F42C8 #C83F42 #42C83F
tetradic
#3F42C8 #C83F87 #C8C53F #3FC881
square
#3F42C8 #C83F87 #C8C53F #3FC881
split-complementary
#3F42C8 #C8813F #87C83F
monochromatic
#1F216D #2D2F9D #3F42C8 #6F71D6 #9EA0E3

Accessibility & contrast

On white

7.43
#3F42C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F42C8
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F42C8#FFFFFF#000000##FFFFFF
##3F42C81.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCC
Deuteranopia (green-blind)
#004FC5
Tritanopia (blue-blind)
#00667F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3f42c8;
/* rgb */ color: rgb(63, 66, 200);
/* oklch */ color: oklch(46.7% 0.202 274.3);
Tailwind
colors: {
  custom: {
    50: '#8677da',
    500: '#3f42c8',
    950: '#000000',
  },
}
SCSS
$custom: #3f42c8;
$custom-light: #8677da;
$custom-dark: #000000;
JSON
{
  "hex": "#3f42c8",
  "rgb": {
    "r": 63,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 238.686,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.46735,
    "c": 0.20236,
    "h": 274.3
  },
  "luminance": 0.09123
}

Semantic roles & 50–950 ramp

primary
#3F42C8
secondary
#D0CE93
accent
#DC49DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #3F42C8

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

Preview Lab → · Contrast checker → · Palette generator →

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