#3F47A2#3F47A2

#3F47A2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.145 H 275.0°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#3F47A2
RGBrgb(63, 71, 162)
HSLhsl(235, 44%, 44%)
HSVhsv(235, 61%, 64%)
CMYKcmyk(61.1%, 56.2%, 0%, 36.5%)
CIE-LABlab(34.34, 25.38, -50.45)
CIE-LCHlch(34.34, 56.48, 296.70°)
OKLaboklab(44.39% 0.0127 -0.1448)
OKLCHoklch(44.39% 0.145 275)
XYZxyz(10.8226, 8.1710, 35.1823)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F47A2 #A29A3F
analogous
#3F79A2 #3F47A2 #693FA2
triadic
#3F47A2 #A23F47 #47A23F
tetradic
#3F47A2 #A23F79 #A29A3F #3FA269
square
#3F47A2 #A23F79 #A29A3F #3FA269
split-complementary
#3F47A2 #A2693F #79A23F
monochromatic
#1D204A #2E3476 #3F47A2 #5E66C0 #8A90D1

Accessibility & contrast

On white

7.97
#3F47A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3F47A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F47A2
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F47A2#FFFFFF#000000##FFFFFF
##3F47A21.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f47a2;
/* rgb */ color: rgb(63, 71, 162);
/* oklch */ color: oklch(44.4% 0.145 275.0);
Tailwind
colors: {
  custom: {
    50: '#7e7abe',
    500: '#3f47a2',
    950: '#000000',
  },
}
SCSS
$custom: #3f47a2;
$custom-light: #7e7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#3f47a2",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 162
  },
  "hsl": {
    "h": 235.152,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4439,
    "c": 0.14535,
    "h": 275
  },
  "luminance": 0.08172
}

Semantic roles & 50–950 ramp

primary
#3F47A2
secondary
#BCB781
accent
#C954D4
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #3F47A2

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

Preview Lab → · Contrast checker → · Palette generator →

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