#3F347F#3F347F

#3F347F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.122 H 285.7°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#3F347F
RGBrgb(63, 52, 127)
HSLhsl(249, 42%, 35%)
HSVhsv(249, 59%, 50%)
CMYKcmyk(50.4%, 59.1%, 0%, 50.2%)
CIE-LABlab(26.86, 25.90, -41.05)
CIE-LCHlch(26.86, 48.54, 302.25°)
OKLaboklab(38.02% 0.0331 -0.1173)
OKLCHoklch(38.02% 0.122 285.7)
XYZxyz(7.1075, 5.0447, 20.6738)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F347F #747F34
analogous
#344F7F #3F347F #64347F
triadic
#3F347F #7F3F34 #347F3F
tetradic
#3F347F #7F344F #747F34 #347F64
square
#3F347F #7F344F #747F34 #347F64
split-complementary
#3F347F #7F6434 #4F7F34
monochromatic
#141028 #292254 #3F347F #5546AA #786BC2

Accessibility & contrast

On white

10.45
#3F347F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3F347F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F347F
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F347F#FFFFFF#000000##FFFFFF
##3F347F1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014282
Deuteranopia (green-blind)
#003D7D
Tritanopia (blue-blind)
#294554
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3f347f;
/* rgb */ color: rgb(63, 52, 127);
/* oklch */ color: oklch(38.0% 0.122 285.7);
Tailwind
colors: {
  custom: {
    50: '#796ca5',
    500: '#3f347f',
    950: '#000000',
  },
}
SCSS
$custom: #3f347f;
$custom-light: #796ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f347f",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 127
  },
  "hsl": {
    "h": 248.8,
    "s": 41.899,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38018,
    "c": 0.12184,
    "h": 285.7
  },
  "luminance": 0.05045
}

Semantic roles & 50–950 ramp

primary
#3F347F
secondary
#A0AA64
accent
#D256C0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #3F347F

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

Preview Lab → · Contrast checker → · Palette generator →

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