#3F348C#3F348C

#3F348C is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.1% C 0.140 H 283.5°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#3F348C
RGBrgb(63, 52, 140)
HSLhsl(248, 46%, 38%)
HSVhsv(248, 63%, 55%)
CMYKcmyk(55%, 62.9%, 0%, 45.1%)
CIE-LABlab(27.86, 30.16, -47.54)
CIE-LCHlch(27.86, 56.30, 302.39°)
OKLaboklab(39.07% 0.0327 -0.1364)
OKLCHoklch(39.07% 0.14 283.5)
XYZxyz(8.0101, 5.4057, 25.4272)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F348C #818C34
analogous
#34558C #3F348C #6B348C
triadic
#3F348C #8C3F34 #348C3F
tetradic
#3F348C #8C3455 #818C34 #348C6B
square
#3F348C #8C3455 #818C34 #348C6B
split-complementary
#3F348C #8C6B34 #558C34
monochromatic
#171333 #2B235F #3F348C #5345B9 #7C70CA

Accessibility & contrast

On white

10.09
#3F348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3F348C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F348C
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F348C#FFFFFF#000000##FFFFFF
##3F348C1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#003F8A
Tritanopia (blue-blind)
#1E495B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f348c;
/* rgb */ color: rgb(63, 52, 140);
/* oklch */ color: oklch(39.1% 0.140 283.5);
Tailwind
colors: {
  custom: {
    50: '#7b6cae',
    500: '#3f348c',
    950: '#000000',
  },
}
SCSS
$custom: #3f348c;
$custom-light: #7b6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#3f348c",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 247.5,
    "s": 45.833,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39069,
    "c": 0.14022,
    "h": 283.5
  },
  "luminance": 0.05406
}

Semantic roles & 50–950 ramp

primary
#3F348C
secondary
#A9B26A
accent
#D552C5
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3F348C

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

Preview Lab → · Contrast checker → · Palette generator →

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