#3F38AA#3F38AA

#3F38AA is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.4% C 0.175 H 278.6°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#3F38AA
RGBrgb(63, 56, 170)
HSLhsl(244, 50%, 44%)
HSVhsv(244, 67%, 67%)
CMYKcmyk(62.9%, 67.1%, 0%, 33.3%)
CIE-LABlab(31.32, 37.61, -60.17)
CIE-LCHlch(31.32, 70.96, 302.01°)
OKLaboklab(42.37% 0.0261 -0.1734)
OKLCHoklch(42.37% 0.175 278.6)
XYZxyz(10.7174, 6.7866, 38.7676)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F38AA #A3AA38
analogous
#386AAA #3F38AA #7838AA
triadic
#3F38AA #AA3F38 #38AA3F
tetradic
#3F38AA #AA386A #A3AA38 #38AA78
square
#3F38AA #AA386A #A3AA38 #38AA78
split-complementary
#3F38AA #AA7838 #6AAA38
monochromatic
#1D1A4E #2E297C #3F38AA #5E57C8 #8A85D7

Accessibility & contrast

On white

8.91
#3F38AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3F38AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F38AA
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F38AA#FFFFFF#000000##FFFFFF
##3F38AA1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0045A8
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f38aa;
/* rgb */ color: rgb(63, 56, 170);
/* oklch */ color: oklch(42.4% 0.175 278.6);
Tailwind
colors: {
  custom: {
    50: '#816fc4',
    500: '#3f38aa',
    950: '#000000',
  },
}
SCSS
$custom: #3f38aa;
$custom-light: #816fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f38aa",
  "rgb": {
    "r": 63,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 243.684,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42368,
    "c": 0.17539,
    "h": 278.6
  },
  "luminance": 0.06787
}

Semantic roles & 50–950 ramp

primary
#3F38AA
secondary
#BDC17D
accent
#DA4ED1
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3F38AA

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

Preview Lab → · Contrast checker → · Palette generator →

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