#3F41C8#3F41C8

#3F41C8 is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 46.6% C 0.203 H 274.5°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#3F41C8
RGBrgb(63, 65, 200)
HSLhsl(239, 55%, 52%)
HSVhsv(239, 69%, 78%)
CMYKcmyk(68.5%, 67.5%, 0%, 21.6%)
CIE-LABlab(36.00, 42.19, -70.22)
CIE-LCHlch(36.00, 81.92, 301.00°)
OKLaboklab(46.58% 0.0159 -0.2029)
OKLCHoklch(46.58% 0.203 274.5)
XYZxyz(14.3621, 9.0062, 55.6139)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F41C8 #C8C63F
analogous
#3F86C8 #3F41C8 #823FC8
triadic
#3F41C8 #C83F41 #41C83F
tetradic
#3F41C8 #C83F86 #C8C63F #3FC882
square
#3F41C8 #C83F86 #C8C63F #3FC882
split-complementary
#3F41C8 #C8823F #86C83F
monochromatic
#1F206D #2D2F9D #3F41C8 #6F70D6 #9E9FE3

Accessibility & contrast

On white

7.50
#3F41C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#3F41C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F41C8
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F41C8#FFFFFF#000000##FFFFFF
##3F41C81.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCC
Deuteranopia (green-blind)
#004EC5
Tritanopia (blue-blind)
#00657F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3f41c8;
/* rgb */ color: rgb(63, 65, 200);
/* oklch */ color: oklch(46.6% 0.203 274.5);
Tailwind
colors: {
  custom: {
    50: '#8676da',
    500: '#3f41c8',
    950: '#000000',
  },
}
SCSS
$custom: #3f41c8;
$custom-light: #8676da;
$custom-dark: #000000;
JSON
{
  "hex": "#3f41c8",
  "rgb": {
    "r": 63,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 239.124,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.46575,
    "c": 0.20348,
    "h": 274.5
  },
  "luminance": 0.09007
}

Semantic roles & 50–950 ramp

primary
#3F41C8
secondary
#D0CF93
accent
#DD49DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3F41C8

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

Preview Lab → · Contrast checker → · Palette generator →

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