#3F498E#3F498E

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

Color values

HEX#3F498E
RGBrgb(63, 73, 142)
HSLhsl(232, 39%, 40%)
HSVhsv(232, 56%, 56%)
CMYKcmyk(55.6%, 48.6%, 0%, 44.3%)
CIE-LABlab(33.51, 17.11, -39.66)
CIE-LCHlch(33.51, 43.20, 293.34°)
OKLaboklab(43.33% 0.0088 -0.113)
OKLCHoklch(43.33% 0.113 274.5)
XYZxyz(9.3134, 7.7742, 26.5957)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F498E #8E843F
analogous
#3F708E #3F498E #5C3F8E
triadic
#3F498E #8E3F49 #498E3F
tetradic
#3F498E #8E3F70 #8E843F #3F8E5C
square
#3F498E #8E3F70 #8E843F #3F8E5C
split-complementary
#3F498E #8E5C3F #708E3F
monochromatic
#191D39 #2C3364 #3F498E #5662B4 #8189C7

Accessibility & contrast

On white

8.22
#3F498E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F498E
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F498E#FFFFFF#000000##FFFFFF
##3F498E1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295291
Deuteranopia (green-blind)
#1F4C8D
Tritanopia (blue-blind)
#185864
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3f498e;
/* rgb */ color: rgb(63, 73, 142);
/* oklch */ color: oklch(43.3% 0.113 274.5);
Tailwind
colors: {
  custom: {
    50: '#7a7baf',
    500: '#3f498e',
    950: '#000000',
  },
}
SCSS
$custom: #3f498e;
$custom-light: #7a7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f498e",
  "rgb": {
    "r": 63,
    "g": 73,
    "b": 142
  },
  "hsl": {
    "h": 232.405,
    "s": 38.537,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43329,
    "c": 0.11337,
    "h": 274.5
  },
  "luminance": 0.07775
}

Semantic roles & 50–950 ramp

primary
#3F498E
secondary
#B1AA78
accent
#C059CE
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #3F498E

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

Preview Lab → · Contrast checker → · Palette generator →

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