#3F38CB#3F38CB

#3F38CB is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.5% C 0.217 H 275.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#3F38CB
RGBrgb(63, 56, 203)
HSLhsl(243, 59%, 51%)
HSVhsv(243, 72%, 80%)
CMYKcmyk(69%, 72.4%, 0%, 20.4%)
CIE-LABlab(34.39, 48.37, -74.62)
CIE-LCHlch(34.39, 88.92, 302.96°)
OKLaboklab(45.51% 0.021 -0.2157)
OKLCHoklch(45.51% 0.217 275.6)
XYZxyz(14.2400, 8.1956, 57.3198)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F38CB #C4CB38
analogous
#387ACB #3F38CB #8838CB
triadic
#3F38CB #CB3F38 #38CB3F
tetradic
#3F38CB #CB387A #C4CB38 #38CB88
square
#3F38CB #CB387A #C4CB38 #38CB88
split-complementary
#3F38CB #CB8838 #7ACB38
monochromatic
#201C6C #2E299D #3F38CB #6E69D8 #9D99E4

Accessibility & contrast

On white

7.96
#3F38CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3F38CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F38CB
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F38CB#FFFFFF#000000##FFFFFF
##3F38CB1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CF
Deuteranopia (green-blind)
#004AC8
Tritanopia (blue-blind)
#00627E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f38cb;
/* rgb */ color: rgb(63, 56, 203);
/* oklch */ color: oklch(45.5% 0.217 275.6);
Tailwind
colors: {
  custom: {
    50: '#8770dc',
    500: '#3f38cb',
    950: '#000000',
  },
}
SCSS
$custom: #3f38cb;
$custom-light: #8770dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f38cb",
  "rgb": {
    "r": 63,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 242.857,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.45505,
    "c": 0.21669,
    "h": 275.6
  },
  "luminance": 0.08197
}

Semantic roles & 50–950 ramp

primary
#3F38CB
secondary
#CDD08F
accent
#E246DA
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3F38CB

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

Preview Lab → · Contrast checker → · Palette generator →

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