#3F38CA#3F38CA

#3F38CA is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.4% C 0.215 H 275.6°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#3F38CA
RGBrgb(63, 56, 202)
HSLhsl(243, 58%, 51%)
HSVhsv(243, 72%, 79%)
CMYKcmyk(68.8%, 72.3%, 0%, 20.8%)
CIE-LABlab(34.29, 48.05, -74.19)
CIE-LCHlch(34.29, 88.40, 302.93°)
OKLaboklab(45.41% 0.0212 -0.2144)
OKLCHoklch(45.41% 0.215 275.6)
XYZxyz(14.1212, 8.1481, 56.6942)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F38CA #C3CA38
analogous
#387ACA #3F38CA #8838CA
triadic
#3F38CA #CA3F38 #38CA3F
tetradic
#3F38CA #CA387A #C3CA38 #38CA88
square
#3F38CA #CA387A #C3CA38 #38CA88
split-complementary
#3F38CA #CA8838 #7ACA38
monochromatic
#201D6B #2F299B #3F38CA #6E68D7 #9C99E4

Accessibility & contrast

On white

7.99
#3F38CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3F38CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F38CA
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F38CA#FFFFFF#000000##FFFFFF
##3F38CA1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CE
Deuteranopia (green-blind)
#004AC7
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f38ca;
/* rgb */ color: rgb(63, 56, 202);
/* oklch */ color: oklch(45.4% 0.215 275.6);
Tailwind
colors: {
  custom: {
    50: '#8770db',
    500: '#3f38ca',
    950: '#000000',
  },
}
SCSS
$custom: #3f38ca;
$custom-light: #8770db;
$custom-dark: #000000;
JSON
{
  "hex": "#3f38ca",
  "rgb": {
    "r": 63,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 242.877,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.45406,
    "c": 0.21548,
    "h": 275.6
  },
  "luminance": 0.08149
}

Semantic roles & 50–950 ramp

primary
#3F38CA
secondary
#CCCF8E
accent
#E147DA
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3F38CA

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

Preview Lab → · Contrast checker → · Palette generator →

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