#3F4794#3F4794

#3F4794 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.3% C 0.125 H 275.4°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#3F4794
RGBrgb(63, 71, 148)
HSLhsl(234, 40%, 41%)
HSVhsv(234, 57%, 58%)
CMYKcmyk(57.4%, 52%, 0%, 42%)
CIE-LABlab(33.35, 20.51, -43.57)
CIE-LCHlch(33.35, 48.16, 295.20°)
OKLaboklab(43.34% 0.0118 -0.1245)
OKLCHoklch(43.34% 0.125 275.4)
XYZxyz(9.6467, 7.7007, 28.9893)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4794 #948C3F
analogous
#3F7294 #3F4794 #623F94
triadic
#3F4794 #943F47 #47943F
tetradic
#3F4794 #943F72 #948C3F #3F9462
square
#3F4794 #943F72 #948C3F #3F9462
split-complementary
#3F4794 #94623F #72943F
monochromatic
#1A1E3E #2D3269 #3F4794 #5861B8 #838ACA

Accessibility & contrast

On white

8.27
#3F4794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3F4794 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4794
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4794#FFFFFF#000000##FFFFFF
##3F47941.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5297
Deuteranopia (green-blind)
#104B92
Tritanopia (blue-blind)
#0F5866
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f4794;
/* rgb */ color: rgb(63, 71, 148);
/* oklch */ color: oklch(43.3% 0.125 275.4);
Tailwind
colors: {
  custom: {
    50: '#7b7ab4',
    500: '#3f4794',
    950: '#000000',
  },
}
SCSS
$custom: #3f4794;
$custom-light: #7b7ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4794",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 148
  },
  "hsl": {
    "h": 234.353,
    "s": 40.284,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43337,
    "c": 0.12511,
    "h": 275.4
  },
  "luminance": 0.07701
}

Semantic roles & 50–950 ramp

primary
#3F4794
secondary
#B5AF7A
accent
#C558D0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #3F4794

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

Preview Lab → · Contrast checker → · Palette generator →

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