#3F38CC#3F38CC

#3F38CC is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.6% C 0.218 H 275.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#3F38CC
RGBrgb(63, 56, 204)
HSLhsl(243, 59%, 51%)
HSVhsv(243, 73%, 80%)
CMYKcmyk(69.1%, 72.5%, 0%, 20%)
CIE-LABlab(34.48, 48.69, -75.04)
CIE-LCHlch(34.48, 89.45, 302.98°)
OKLaboklab(45.6% 0.0208 -0.2169)
OKLCHoklch(45.6% 0.218 275.5)
XYZxyz(14.3596, 8.2434, 57.9494)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F38CC #C5CC38
analogous
#387BCC #3F38CC #8938CC
triadic
#3F38CC #CC3F38 #38CC3F
tetradic
#3F38CC #CC387B #C5CC38 #38CC89
square
#3F38CC #CC387B #C5CC38 #38CC89
split-complementary
#3F38CC #CC8938 #7BCC38
monochromatic
#201C6E #2E299E #3F38CC #6E69D8 #9D99E5

Accessibility & contrast

On white

7.93
#3F38CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3F38CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F38CC
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F38CC#FFFFFF#000000##FFFFFF
##3F38CC1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D0
Deuteranopia (green-blind)
#004AC9
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f38cc;
/* rgb */ color: rgb(63, 56, 204);
/* oklch */ color: oklch(45.6% 0.218 275.5);
Tailwind
colors: {
  custom: {
    50: '#8771dd',
    500: '#3f38cc',
    950: '#000000',
  },
}
SCSS
$custom: #3f38cc;
$custom-light: #8771dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f38cc",
  "rgb": {
    "r": 63,
    "g": 56,
    "b": 204
  },
  "hsl": {
    "h": 242.838,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.45604,
    "c": 0.2179,
    "h": 275.5
  },
  "luminance": 0.08245
}

Semantic roles & 50–950 ramp

primary
#3F38CC
secondary
#CED18F
accent
#E245DB
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3F38CC

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

Preview Lab → · Contrast checker → · Palette generator →

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