#3F348D#3F348D

#3F348D is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.142 H 283.3°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#3F348D
RGBrgb(63, 52, 141)
HSLhsl(247, 46%, 38%)
HSVhsv(247, 63%, 55%)
CMYKcmyk(55.3%, 63.1%, 0%, 44.7%)
CIE-LABlab(27.94, 30.49, -48.03)
CIE-LCHlch(27.94, 56.89, 302.41°)
OKLaboklab(39.15% 0.0326 -0.1378)
OKLCHoklch(39.15% 0.142 283.3)
XYZxyz(8.0841, 5.4354, 25.8173)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F348D #828D34
analogous
#34558D #3F348D #6C348D
triadic
#3F348D #8D3F34 #348D3F
tetradic
#3F348D #8D3455 #828D34 #348D6C
square
#3F348D #8D3455 #828D34 #348D6C
split-complementary
#3F348D #8D6C34 #558D34
monochromatic
#171334 #2B2460 #3F348D #5344BA #7C71CB

Accessibility & contrast

On white

10.06
#3F348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F348D
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F348D#FFFFFF#000000##FFFFFF
##3F348D1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#1D495B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f348d;
/* rgb */ color: rgb(63, 52, 141);
/* oklch */ color: oklch(39.2% 0.142 283.3);
Tailwind
colors: {
  custom: {
    50: '#7c6caf',
    500: '#3f348d',
    950: '#000000',
  },
}
SCSS
$custom: #3f348d;
$custom-light: #7c6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f348d",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 247.416,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39152,
    "c": 0.14159,
    "h": 283.3
  },
  "luminance": 0.05436
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F348D

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

Preview Lab → · Contrast checker → · Palette generator →

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