#3F348E#3F348E

#3F348E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.143 H 283.2°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#3F348E
RGBrgb(63, 52, 142)
HSLhsl(247, 46%, 38%)
HSVhsv(247, 63%, 56%)
CMYKcmyk(55.6%, 63.4%, 0%, 44.3%)
CIE-LABlab(28.02, 30.82, -48.52)
CIE-LCHlch(28.02, 57.48, 302.42°)
OKLaboklab(39.24% 0.0325 -0.1392)
OKLCHoklch(39.24% 0.143 283.2)
XYZxyz(8.1589, 5.4653, 26.2109)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F348E #838E34
analogous
#34568E #3F348E #6C348E
triadic
#3F348E #8E3F34 #348E3F
tetradic
#3F348E #8E3456 #838E34 #348E6C
square
#3F348E #8E3456 #838E34 #348E6C
split-complementary
#3F348E #8E6C34 #568E34
monochromatic
#171334 #2B2461 #3F348E #5344BB #7C71CB

Accessibility & contrast

On white

10.03
#3F348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3F348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F348E
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F348E#FFFFFF#000000##FFFFFF
##3F348E1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003F8C
Tritanopia (blue-blind)
#1C4A5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f348e;
/* rgb */ color: rgb(63, 52, 142);
/* oklch */ color: oklch(39.2% 0.143 283.2);
Tailwind
colors: {
  custom: {
    50: '#7c6cb0',
    500: '#3f348e',
    950: '#000000',
  },
}
SCSS
$custom: #3f348e;
$custom-light: #7c6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f348e",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 247.333,
    "s": 46.392,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39236,
    "c": 0.14297,
    "h": 283.2
  },
  "luminance": 0.05466
}

Semantic roles & 50–950 ramp

primary
#3F348E
secondary
#AAB36A
accent
#D652C6
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3F348E

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

Preview Lab → · Contrast checker → · Palette generator →

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