#3F458D#3F458D

#3F458D is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.4% C 0.118 H 276.6°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#3F458D
RGBrgb(63, 69, 141)
HSLhsl(235, 38%, 40%)
HSVhsv(235, 55%, 55%)
CMYKcmyk(55.3%, 51.1%, 0%, 44.7%)
CIE-LABlab(32.34, 19.41, -40.93)
CIE-LCHlch(32.34, 45.30, 295.38°)
OKLaboklab(42.42% 0.0135 -0.1168)
OKLCHoklch(42.42% 0.118 276.6)
XYZxyz(8.9842, 7.2355, 26.1173)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F458D #8D873F
analogous
#3F6C8D #3F458D #603F8D
triadic
#3F458D #8D3F45 #458D3F
tetradic
#3F458D #8D3F6C #8D873F #3F8D60
square
#3F458D #8D3F6C #8D873F #3F8D60
split-complementary
#3F458D #8D603F #6C8D3F
monochromatic
#191C38 #2C3063 #3F458D #565DB3 #8085C6

Accessibility & contrast

On white

8.58
#3F458D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3F458D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F458D
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F458D#FFFFFF#000000##FFFFFF
##3F458D1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224F90
Deuteranopia (green-blind)
#17498B
Tritanopia (blue-blind)
#1A5562
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f458d;
/* rgb */ color: rgb(63, 69, 141);
/* oklch */ color: oklch(42.4% 0.118 276.6);
Tailwind
colors: {
  custom: {
    50: '#7a78af',
    500: '#3f458d',
    950: '#000000',
  },
}
SCSS
$custom: #3f458d;
$custom-light: #7a78af;
$custom-dark: #000000;
JSON
{
  "hex": "#3f458d",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 141
  },
  "hsl": {
    "h": 235.385,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.42422,
    "c": 0.11755,
    "h": 276.6
  },
  "luminance": 0.07236
}

Semantic roles & 50–950 ramp

primary
#3F458D
secondary
#B1AC77
accent
#C55ACE
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #3F458D

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

Preview Lab → · Contrast checker → · Palette generator →

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