#3F458F#3F458F

#3F458F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.121 H 276.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#3F458F
RGBrgb(63, 69, 143)
HSLhsl(236, 39%, 40%)
HSVhsv(236, 56%, 56%)
CMYKcmyk(55.9%, 51.7%, 0%, 43.9%)
CIE-LABlab(32.47, 20.10, -41.94)
CIE-LCHlch(32.47, 46.51, 295.61°)
OKLaboklab(42.57% 0.0137 -0.1197)
OKLCHoklch(42.57% 0.121 276.5)
XYZxyz(9.1344, 7.2956, 26.9081)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F458F #8F893F
analogous
#3F6D8F #3F458F #613F8F
triadic
#3F458F #8F3F45 #458F3F
tetradic
#3F458F #8F3F6D #8F893F #3F8F61
square
#3F458F #8F3F6D #8F893F #3F8F61
split-complementary
#3F458F #8F613F #6D8F3F
monochromatic
#1A1C3A #2C3165 #3F458F #565EB5 #8186C7

Accessibility & contrast

On white

8.54
#3F458F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3F458F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F458F
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F458F#FFFFFF#000000##FFFFFF
##3F458F1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5092
Deuteranopia (green-blind)
#14498D
Tritanopia (blue-blind)
#175663
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f458f;
/* rgb */ color: rgb(63, 69, 143);
/* oklch */ color: oklch(42.6% 0.121 276.5);
Tailwind
colors: {
  custom: {
    50: '#7b78b0',
    500: '#3f458f',
    950: '#000000',
  },
}
SCSS
$custom: #3f458f;
$custom-light: #7b78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f458f",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 143
  },
  "hsl": {
    "h": 235.5,
    "s": 38.835,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42565,
    "c": 0.12053,
    "h": 276.5
  },
  "luminance": 0.07296
}

Semantic roles & 50–950 ramp

primary
#3F458F
secondary
#B2AD78
accent
#C659CF
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #3F458F

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

Preview Lab → · Contrast checker → · Palette generator →

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