#3F458E#3F458E

#3F458E is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.5% C 0.119 H 276.5°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#3F458E
RGBrgb(63, 69, 142)
HSLhsl(235, 39%, 40%)
HSVhsv(235, 56%, 56%)
CMYKcmyk(55.6%, 51.4%, 0%, 44.3%)
CIE-LABlab(32.40, 19.76, -41.43)
CIE-LCHlch(32.40, 45.90, 295.49°)
OKLaboklab(42.49% 0.0136 -0.1183)
OKLCHoklch(42.49% 0.119 276.5)
XYZxyz(9.0590, 7.2654, 26.5109)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F458E #8E883F
analogous
#3F6C8E #3F458E #603F8E
triadic
#3F458E #8E3F45 #458E3F
tetradic
#3F458E #8E3F6C #8E883F #3F8E60
square
#3F458E #8E3F6C #8E883F #3F8E60
split-complementary
#3F458E #8E603F #6C8E3F
monochromatic
#191C39 #2C3064 #3F458E #565DB4 #8186C7

Accessibility & contrast

On white

8.56
#3F458E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F458E
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F458E#FFFFFF#000000##FFFFFF
##3F458E1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205091
Deuteranopia (green-blind)
#16498C
Tritanopia (blue-blind)
#195563
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f458e;
/* rgb */ color: rgb(63, 69, 142);
/* oklch */ color: oklch(42.5% 0.119 276.5);
Tailwind
colors: {
  custom: {
    50: '#7b78af',
    500: '#3f458e',
    950: '#000000',
  },
}
SCSS
$custom: #3f458e;
$custom-light: #7b78af;
$custom-dark: #000000;
JSON
{
  "hex": "#3f458e",
  "rgb": {
    "r": 63,
    "g": 69,
    "b": 142
  },
  "hsl": {
    "h": 235.443,
    "s": 38.537,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42493,
    "c": 0.11904,
    "h": 276.5
  },
  "luminance": 0.07266
}

Semantic roles & 50–950 ramp

primary
#3F458E
secondary
#B1AD78
accent
#C659CE
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #3F458E

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

Preview Lab → · Contrast checker → · Palette generator →

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