#3F38BC#3F38BC

#3F38BC is a dark, vivid blue. Relative luminance 0.075; OKLCH L 44.0% C 0.198 H 276.8°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#3F38BC
RGBrgb(63, 56, 188)
HSLhsl(243, 54%, 48%)
HSVhsv(243, 70%, 74%)
CMYKcmyk(66.5%, 70.2%, 0%, 26.3%)
CIE-LABlab(32.95, 43.53, -68.19)
CIE-LCHlch(32.95, 80.90, 302.55°)
OKLaboklab(44.05% 0.0236 -0.1969)
OKLCHoklch(44.05% 0.198 276.8)
XYZxyz(12.5382, 7.5149, 48.3570)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F38BC #B5BC38
analogous
#3873BC #3F38BC #8138BC
triadic
#3F38BC #BC3F38 #38BC3F
tetradic
#3F38BC #BC3873 #B5BC38 #38BC81
square
#3F38BC #BC3873 #B5BC38 #38BC81
split-complementary
#3F38BC #BC8138 #73BC38
monochromatic
#1F1C5E #2F2A8D #3F38BC #6761D0 #9490DE

Accessibility & contrast

On white

8.39
#3F38BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3F38BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F38BC
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F38BC#FFFFFF#000000##FFFFFF
##3F38BC1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#0048BA
Tritanopia (blue-blind)
#005C76
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3f38bc;
/* rgb */ color: rgb(63, 56, 188);
/* oklch */ color: oklch(44.0% 0.198 276.8);
Tailwind
colors: {
  custom: {
    50: '#8470d1',
    500: '#3f38bc',
    950: '#000000',
  },
}
SCSS
$custom: #3f38bc;
$custom-light: #8470d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f38bc",
  "rgb": {
    "r": 63,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 243.182,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44046,
    "c": 0.19832,
    "h": 276.8
  },
  "luminance": 0.07516
}

Semantic roles & 50–950 ramp

primary
#3F38BC
secondary
#C5C987
accent
#DD4AD6
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3F38BC

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

Preview Lab → · Contrast checker → · Palette generator →

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