#3F4498#3F4498

#3F4498 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.135 H 276.5°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#3F4498
RGBrgb(63, 68, 152)
HSLhsl(237, 41%, 42%)
HSVhsv(237, 59%, 60%)
CMYKcmyk(58.6%, 55.3%, 0%, 40.4%)
CIE-LABlab(32.83, 23.86, -46.85)
CIE-LCHlch(32.83, 52.58, 296.99°)
OKLaboklab(43.03% 0.0154 -0.1342)
OKLCHoklch(43.03% 0.135 276.5)
XYZxyz(9.7827, 7.4573, 30.6236)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4498 #98933F
analogous
#3F7198 #3F4498 #673F98
triadic
#3F4498 #983F44 #44983F
tetradic
#3F4498 #983F71 #98933F #3F9867
square
#3F4498 #983F71 #98933F #3F9867
split-complementary
#3F4498 #98673F #71983F
monochromatic
#1B1D41 #2D316D #3F4498 #5A5FBA #8589CC

Accessibility & contrast

On white

8.43
#3F4498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3F4498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4498
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4498#FFFFFF#000000##FFFFFF
##3F44981.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D519B
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#065767
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3f4498;
/* rgb */ color: rgb(63, 68, 152);
/* oklch */ color: oklch(43.0% 0.135 276.5);
Tailwind
colors: {
  custom: {
    50: '#7c77b7',
    500: '#3f4498',
    950: '#000000',
  },
}
SCSS
$custom: #3f4498;
$custom-light: #7c77b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4498",
  "rgb": {
    "r": 63,
    "g": 68,
    "b": 152
  },
  "hsl": {
    "h": 236.629,
    "s": 41.395,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43032,
    "c": 0.13511,
    "h": 276.5
  },
  "luminance": 0.07458
}

Semantic roles & 50–950 ramp

primary
#3F4498
secondary
#B7B47C
accent
#CA57D1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3F4498

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

Preview Lab → · Contrast checker → · Palette generator →

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