#3F38E2#3F38E2

#3F38E2 is a mid, highly saturated blue. Relative luminance 0.094; OKLCH L 47.8% C 0.244 H 273.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#3F38E2
RGBrgb(63, 56, 226)
HSLhsl(242, 75%, 55%)
HSVhsv(242, 75%, 89%)
CMYKcmyk(72.1%, 75.2%, 0%, 11.4%)
CIE-LABlab(36.70, 55.61, -84.06)
CIE-LCHlch(36.70, 100.79, 303.48°)
OKLaboklab(47.83% 0.0166 -0.2432)
OKLCHoklch(47.83% 0.244 273.9)
XYZxyz(17.1870, 9.3744, 72.8404)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F38E2 #DBE238
analogous
#3886E2 #3F38E2 #9438E2
triadic
#3F38E2 #E23F38 #38E23F
tetradic
#3F38E2 #E23886 #DBE238 #38E294
square
#3F38E2 #E23886 #DBE238 #38E294
split-complementary
#3F38E2 #E29438 #86E238
monochromatic
#19148B #231CC1 #3F38E2 #736DEA #A6A3F2

Accessibility & contrast

On white

7.30
#3F38E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3F38E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F38E2
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F38E2#FFFFFF#000000##FFFFFF
##3F38E21.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE7
Deuteranopia (green-blind)
#004EDF
Tritanopia (blue-blind)
#006A8B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3f38e2;
/* rgb */ color: rgb(63, 56, 226);
/* oklch */ color: oklch(47.8% 0.244 273.9);
Tailwind
colors: {
  custom: {
    50: '#8c72ed',
    500: '#3f38e2',
    950: '#000000',
  },
}
SCSS
$custom: #3f38e2;
$custom-light: #8c72ed;
$custom-dark: #000000;
JSON
{
  "hex": "#3f38e2",
  "rgb": {
    "r": 63,
    "g": 56,
    "b": 226
  },
  "hsl": {
    "h": 242.471,
    "s": 74.561,
    "l": 55.294
  },
  "oklch": {
    "l": 0.47827,
    "c": 0.24376,
    "h": 273.9
  },
  "luminance": 0.09376
}

Semantic roles & 50–950 ramp

primary
#3F38E2
secondary
#DCDE97
accent
#F137EA
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #3F38E2

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

Preview Lab → · Contrast checker → · Palette generator →

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