#3F38D9#3F38D9

#3F38D9 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 46.9% C 0.233 H 274.5°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#3F38D9
RGBrgb(63, 56, 217)
HSLhsl(243, 68%, 54%)
HSVhsv(243, 74%, 85%)
CMYKcmyk(71%, 74.2%, 0%, 14.9%)
CIE-LABlab(35.78, 52.81, -80.42)
CIE-LCHlch(35.78, 96.21, 303.29°)
OKLaboklab(46.91% 0.0184 -0.2326)
OKLCHoklch(46.91% 0.233 274.5)
XYZxyz(15.9843, 8.8933, 66.5064)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F38D9 #D2D938
analogous
#3881D9 #3F38D9 #8F38D9
triadic
#3F38D9 #D93F38 #38D93F
tetradic
#3F38D9 #D93881 #D2D938 #38D98F
square
#3F38D9 #D93881 #D2D938 #38D98F
split-complementary
#3F38D9 #D98F38 #81D938
monochromatic
#1D187E #2822B2 #3F38D9 #716BE3 #A29FED

Accessibility & contrast

On white

7.56
#3F38D9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3F38D9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F38D9
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F38D9#FFFFFF#000000##FFFFFF
##3F38D91.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BDE
Deuteranopia (green-blind)
#004DD6
Tritanopia (blue-blind)
#006786
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3f38d9;
/* rgb */ color: rgb(63, 56, 217);
/* oklch */ color: oklch(46.9% 0.233 274.5);
Tailwind
colors: {
  custom: {
    50: '#8a71e6',
    500: '#3f38d9',
    950: '#000000',
  },
}
SCSS
$custom: #3f38d9;
$custom-light: #8a71e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f38d9",
  "rgb": {
    "r": 63,
    "g": 56,
    "b": 217
  },
  "hsl": {
    "h": 242.609,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.46908,
    "c": 0.23331,
    "h": 274.5
  },
  "luminance": 0.08895
}

Semantic roles & 50–950 ramp

primary
#3F38D9
secondary
#D6D994
accent
#EB3DE3
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #3F38D9

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

Preview Lab → · Contrast checker → · Palette generator →

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