#3F4878#3F4878

#3F4878 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.7% C 0.081 H 274.3°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#3F4878
RGBrgb(63, 72, 120)
HSLhsl(231, 31%, 36%)
HSVhsv(231, 48%, 47%)
CMYKcmyk(47.5%, 40%, 0%, 52.9%)
CIE-LABlab(31.91, 10.35, -28.59)
CIE-LCHlch(31.91, 30.41, 289.90°)
OKLaboklab(41.69% 0.0061 -0.0806)
OKLCHoklch(41.69% 0.081 274.3)
XYZxyz(7.7564, 7.0471, 18.7172)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4878 #786F3F
analogous
#3F6478 #3F4878 #523F78
triadic
#3F4878 #783F48 #48783F
tetradic
#3F4878 #783F64 #786F3F #3F7852
square
#3F4878 #783F64 #786F3F #3F7852
split-complementary
#3F4878 #78523F #64783F
monochromatic
#151828 #2A3050 #3F4878 #5460A0 #7983B9

Accessibility & contrast

On white

8.72
#3F4878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3F4878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4878
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4878#FFFFFF#000000##FFFFFF
##3F48781.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364E7A
Deuteranopia (green-blind)
#314977
Tritanopia (blue-blind)
#2B525A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f4878;
/* rgb */ color: rgb(63, 72, 120);
/* oklch */ color: oklch(41.7% 0.081 274.3);
Tailwind
colors: {
  custom: {
    50: '#777a9f',
    500: '#3f4878',
    950: '#000000',
  },
}
SCSS
$custom: #3f4878;
$custom-light: #777a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4878",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 120
  },
  "hsl": {
    "h": 230.526,
    "s": 31.148,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41687,
    "c": 0.08085,
    "h": 274.3
  },
  "luminance": 0.07048
}

Semantic roles & 50–950 ramp

primary
#3F4878
secondary
#A39B70
accent
#B760C7
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09090E
muted
#7B7B7E

Preview Lab

Preview with #3F4878

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

Preview Lab → · Contrast checker → · Palette generator →

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