#3F42CA#3F42CA

#3F42CA is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 46.9% C 0.205 H 274.2°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#3F42CA
RGBrgb(63, 66, 202)
HSLhsl(239, 57%, 52%)
HSVhsv(239, 69%, 79%)
CMYKcmyk(68.8%, 67.3%, 0%, 20.8%)
CIE-LABlab(36.40, 42.27, -70.73)
CIE-LCHlch(36.40, 82.39, 300.86°)
OKLaboklab(46.92% 0.015 -0.2043)
OKLCHoklch(46.92% 0.205 274.2)
XYZxyz(14.6552, 9.2161, 56.8722)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F42CA #CAC73F
analogous
#3F88CA #3F42CA #823FCA
triadic
#3F42CA #CA3F42 #42CA3F
tetradic
#3F42CA #CA3F88 #CAC73F #3FCA82
square
#3F42CA #CA3F88 #CAC73F #3FCA82
split-complementary
#3F42CA #CA823F #88CA3F
monochromatic
#1F2170 #2C2FA0 #3F42CA #6F71D7 #9FA0E4

Accessibility & contrast

On white

7.39
#3F42CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#3F42CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F42CA
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F42CA#FFFFFF#000000##FFFFFF
##3F42CA1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#004FC7
Tritanopia (blue-blind)
#006680
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f42ca;
/* rgb */ color: rgb(63, 66, 202);
/* oklch */ color: oklch(46.9% 0.205 274.2);
Tailwind
colors: {
  custom: {
    50: '#8677db',
    500: '#3f42ca',
    950: '#000000',
  },
}
SCSS
$custom: #3f42ca;
$custom-light: #8677db;
$custom-dark: #000000;
JSON
{
  "hex": "#3f42ca",
  "rgb": {
    "r": 63,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 238.705,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.4692,
    "c": 0.20488,
    "h": 274.2
  },
  "luminance": 0.09217
}

Semantic roles & 50–950 ramp

primary
#3F42CA
secondary
#D1D094
accent
#DD48E0
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #3F42CA

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

Preview Lab → · Contrast checker → · Palette generator →

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