#3F498D#3F498D

#3F498D is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.3% C 0.112 H 274.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#3F498D
RGBrgb(63, 73, 141)
HSLhsl(232, 38%, 40%)
HSVhsv(232, 55%, 55%)
CMYKcmyk(55.3%, 48.2%, 0%, 44.7%)
CIE-LABlab(33.44, 16.77, -39.15)
CIE-LCHlch(33.44, 42.59, 293.19°)
OKLaboklab(43.26% 0.0087 -0.1115)
OKLCHoklch(43.26% 0.112 274.5)
XYZxyz(9.2386, 7.7443, 26.2021)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F498D #8D833F
analogous
#3F708D #3F498D #5C3F8D
triadic
#3F498D #8D3F49 #498D3F
tetradic
#3F498D #8D3F70 #8D833F #3F8D5C
square
#3F498D #8D3F70 #8D833F #3F8D5C
split-complementary
#3F498D #8D5C3F #708D3F
monochromatic
#191D38 #2C3363 #3F498D #5662B3 #8089C6

Accessibility & contrast

On white

8.24
#3F498D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3F498D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F498D
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F498D#FFFFFF#000000##FFFFFF
##3F498D1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5290
Deuteranopia (green-blind)
#214C8C
Tritanopia (blue-blind)
#195864
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3f498d;
/* rgb */ color: rgb(63, 73, 141);
/* oklch */ color: oklch(43.3% 0.112 274.5);
Tailwind
colors: {
  custom: {
    50: '#7a7baf',
    500: '#3f498d',
    950: '#000000',
  },
}
SCSS
$custom: #3f498d;
$custom-light: #7a7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f498d",
  "rgb": {
    "r": 63,
    "g": 73,
    "b": 141
  },
  "hsl": {
    "h": 232.308,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.4326,
    "c": 0.11186,
    "h": 274.5
  },
  "luminance": 0.07745
}

Semantic roles & 50–950 ramp

primary
#3F498D
secondary
#B1A977
accent
#BF5ACE
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #3F498D

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

Preview Lab → · Contrast checker → · Palette generator →

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