#3F23D4#3F23D4

#3F23D4 is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 44.0% C 0.245 H 276.6°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#3F23D4
RGBrgb(63, 35, 212)
HSLhsl(249, 72%, 48%)
HSVhsv(249, 83%, 83%)
CMYKcmyk(70.3%, 83.5%, 0%, 16.9%)
CIE-LABlab(31.83, 61.18, -84.07)
CIE-LCHlch(31.83, 103.97, 306.05°)
OKLaboklab(44% 0.0281 -0.2429)
OKLCHoklch(44% 0.245 276.6)
XYZxyz(14.5307, 7.0109, 62.8621)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F23D4 #B8D423
analogous
#235FD4 #3F23D4 #9823D4
triadic
#3F23D4 #D43F23 #23D43F
tetradic
#3F23D4 #D4235F #B8D423 #23D498
square
#3F23D4 #D4235F #B8D423 #23D498
split-complementary
#3F23D4 #D49823 #5FD423
monochromatic
#20126B #2F1A9F #3F23D4 #6952E2 #9686EB

Accessibility & contrast

On white

8.74
#3F23D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3F23D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F23D4
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F23D4#FFFFFF#000000##FFFFFF
##3F23D41.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052D9
Deuteranopia (green-blind)
#0043D1
Tritanopia (blue-blind)
#005D7F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f23d4;
/* rgb */ color: rgb(63, 35, 212);
/* oklch */ color: oklch(44.0% 0.245 276.6);
Tailwind
colors: {
  custom: {
    50: '#8b65e3',
    500: '#3f23d4',
    950: '#000000',
  },
}
SCSS
$custom: #3f23d4;
$custom-light: #8b65e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f23d4",
  "rgb": {
    "r": 63,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 249.492,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44,
    "c": 0.24451,
    "h": 276.6
  },
  "luminance": 0.07012
}

Semantic roles & 50–950 ramp

primary
#3F23D4
secondary
#C7D47E
accent
#EE39D2
background
#F9F6FE
surface
#F2EBFC
border
#CCC6D5
text
#0E0616
muted
#7E7A84

Preview Lab

Preview with #3F23D4

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

Preview Lab → · Contrast checker → · Palette generator →

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