#3F349E#3F349E

#3F349E is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.6% C 0.165 H 280.9°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#3F349E
RGBrgb(63, 52, 158)
HSLhsl(246, 50%, 41%)
HSVhsv(246, 67%, 62%)
CMYKcmyk(60.1%, 67.1%, 0%, 38%)
CIE-LABlab(29.36, 36.08, -56.13)
CIE-LCHlch(29.36, 66.72, 302.73°)
OKLaboklab(40.63% 0.031 -0.1616)
OKLCHoklch(40.63% 0.165 280.9)
XYZxyz(9.4475, 5.9807, 32.9977)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F349E #939E34
analogous
#345E9E #3F349E #74349E
triadic
#3F349E #9E3F34 #349E3F
tetradic
#3F349E #9E345E #939E34 #349E74
square
#3F349E #9E345E #939E34 #349E74
split-complementary
#3F349E #9E7434 #5E9E34
monochromatic
#1A1642 #2D2570 #3F349E #584BC4 #8379D3

Accessibility & contrast

On white

9.56
#3F349E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3F349E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F349E
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F349E#FFFFFF#000000##FFFFFF
##3F349E1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f349e;
/* rgb */ color: rgb(63, 52, 158);
/* oklch */ color: oklch(40.6% 0.165 280.9);
Tailwind
colors: {
  custom: {
    50: '#7f6cbc',
    500: '#3f349e',
    950: '#000000',
  },
}
SCSS
$custom: #3f349e;
$custom-light: #7f6cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f349e",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 246.226,
    "s": 50.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.40631,
    "c": 0.16452,
    "h": 280.9
  },
  "luminance": 0.05981
}

Semantic roles & 50–950 ramp

primary
#3F349E
secondary
#B4BC72
accent
#DA4ECB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3F349E

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

Preview Lab → · Contrast checker → · Palette generator →

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