#3F38C8#3F38C8

#3F38C8 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.2% C 0.213 H 275.8°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#3F38C8
RGBrgb(63, 56, 200)
HSLhsl(243, 57%, 50%)
HSVhsv(243, 72%, 78%)
CMYKcmyk(68.5%, 72%, 0%, 21.6%)
CIE-LABlab(34.10, 47.41, -73.35)
CIE-LCHlch(34.10, 87.34, 302.88°)
OKLaboklab(45.21% 0.0215 -0.212)
OKLCHoklch(45.21% 0.213 275.8)
XYZxyz(13.8860, 8.0540, 55.4552)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F38C8 #C1C838
analogous
#3879C8 #3F38C8 #8738C8
triadic
#3F38C8 #C83F38 #38C83F
tetradic
#3F38C8 #C83879 #C1C838 #38C887
square
#3F38C8 #C83879 #C1C838 #38C887
split-complementary
#3F38C8 #C88738 #79C838
monochromatic
#211D69 #302A99 #3F38C8 #6D68D5 #9C98E3

Accessibility & contrast

On white

8.04
#3F38C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3F38C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F38C8
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F38C8#FFFFFF#000000##FFFFFF
##3F38C81.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CC
Deuteranopia (green-blind)
#004AC5
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f38c8;
/* rgb */ color: rgb(63, 56, 200);
/* oklch */ color: oklch(45.2% 0.213 275.8);
Tailwind
colors: {
  custom: {
    50: '#8770da',
    500: '#3f38c8',
    950: '#000000',
  },
}
SCSS
$custom: #3f38c8;
$custom-light: #8770da;
$custom-dark: #000000;
JSON
{
  "hex": "#3f38c8",
  "rgb": {
    "r": 63,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 242.917,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45209,
    "c": 0.21306,
    "h": 275.8
  },
  "luminance": 0.08055
}

Semantic roles & 50–950 ramp

primary
#3F38C8
secondary
#CBCE8E
accent
#E048D9
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3F38C8

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

Preview Lab → · Contrast checker → · Palette generator →

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