#3F38CF#3F38CF

#3F38CF is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.9% C 0.221 H 275.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#3F38CF
RGBrgb(63, 56, 207)
HSLhsl(243, 61%, 52%)
HSVhsv(243, 73%, 81%)
CMYKcmyk(69.6%, 72.9%, 0%, 18.8%)
CIE-LABlab(34.78, 49.65, -76.29)
CIE-LCHlch(34.78, 91.02, 303.06°)
OKLaboklab(45.9% 0.0203 -0.2206)
OKLCHoklch(45.9% 0.221 275.3)
XYZxyz(14.7228, 8.3887, 59.8627)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F38CF #C8CF38
analogous
#387DCF #3F38CF #8A38CF
triadic
#3F38CF #CF3F38 #38CF3F
tetradic
#3F38CF #CF387D #C8CF38 #38CF8A
square
#3F38CF #CF387D #C8CF38 #38CF8A
split-complementary
#3F38CF #CF8A38 #7DCF38
monochromatic
#1F1B71 #2D27A3 #3F38CF #6F69DB #9E9BE7

Accessibility & contrast

On white

7.84
#3F38CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3F38CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F38CF
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F38CF#FFFFFF#000000##FFFFFF
##3F38CF1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D3
Deuteranopia (green-blind)
#004BCC
Tritanopia (blue-blind)
#006380
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f38cf;
/* rgb */ color: rgb(63, 56, 207);
/* oklch */ color: oklch(45.9% 0.221 275.3);
Tailwind
colors: {
  custom: {
    50: '#8871df',
    500: '#3f38cf',
    950: '#000000',
  },
}
SCSS
$custom: #3f38cf;
$custom-light: #8871df;
$custom-dark: #000000;
JSON
{
  "hex": "#3f38cf",
  "rgb": {
    "r": 63,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 242.781,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.45902,
    "c": 0.22149,
    "h": 275.3
  },
  "luminance": 0.0839
}

Semantic roles & 50–950 ramp

primary
#3F38CF
secondary
#D0D390
accent
#E444DD
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3F38CF

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

Preview Lab → · Contrast checker → · Palette generator →

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