#3F4875#3F4875

#3F4875 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.5% C 0.076 H 274.0°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#3F4875
RGBrgb(63, 72, 117)
HSLhsl(230, 30%, 35%)
HSVhsv(230, 46%, 46%)
CMYKcmyk(46.2%, 38.5%, 0%, 54.1%)
CIE-LABlab(31.75, 9.37, -26.97)
CIE-LCHlch(31.75, 28.55, 289.15°)
OKLaboklab(41.51% 0.0054 -0.0759)
OKLCHoklch(41.51% 0.076 274)
XYZxyz(7.5772, 6.9755, 17.7733)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4875 #756C3F
analogous
#3F6375 #3F4875 #513F75
triadic
#3F4875 #753F48 #48753F
tetradic
#3F4875 #753F63 #756C3F #3F7551
square
#3F4875 #753F63 #756C3F #3F7551
split-complementary
#3F4875 #75513F #63753F
monochromatic
#141725 #2A304D #3F4875 #54609D #7882B6

Accessibility & contrast

On white

8.77
#3F4875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3F4875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4875
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4875#FFFFFF#000000##FFFFFF
##3F48751.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384D77
Deuteranopia (green-blind)
#334974
Tritanopia (blue-blind)
#2C5159
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f4875;
/* rgb */ color: rgb(63, 72, 117);
/* oklch */ color: oklch(41.5% 0.076 274.0);
Tailwind
colors: {
  custom: {
    50: '#777a9d',
    500: '#3f4875',
    950: '#000000',
  },
}
SCSS
$custom: #3f4875;
$custom-light: #777a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4875",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 230,
    "s": 30,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41508,
    "c": 0.07609,
    "h": 274
  },
  "luminance": 0.06976
}

Semantic roles & 50–950 ramp

primary
#3F4875
secondary
#A1996F
accent
#B562C6
background
#F7F7F9
surface
#EDEDF2
border
#C8C8CC
text
#09090E
muted
#7B7B7E

Preview Lab

Preview with #3F4875

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

Preview Lab → · Contrast checker → · Palette generator →

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