#3E4F8F#3E4F8F

#3E4F8F is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.6% C 0.107 H 270.4°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#3E4F8F
RGBrgb(62, 79, 143)
HSLhsl(227, 40%, 40%)
HSVhsv(227, 57%, 56%)
CMYKcmyk(56.6%, 44.8%, 0%, 43.9%)
CIE-LABlab(35.20, 13.28, -37.57)
CIE-LCHlch(35.20, 39.85, 289.47°)
OKLaboklab(44.62% 0.0007 -0.1069)
OKLCHoklch(44.62% 0.107 270.4)
XYZxyz(9.7389, 8.5986, 27.1278)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4F8F #8F7E3E
analogous
#3E788F #3E4F8F #553E8F
triadic
#3E4F8F #8F3E4F #4F8F3E
tetradic
#3E4F8F #8F3E78 #8F7E3E #3E8F55
square
#3E4F8F #8F3E78 #8F7E3E #3E8F55
split-complementary
#3E4F8F #8F553E #788F3E
monochromatic
#19203A #2B3764 #3E4F8F #5569B5 #808FC8

Accessibility & contrast

On white

7.72
#3E4F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3E4F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4F8F
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4F8F#FFFFFF#000000##FFFFFF
##3E4F8F1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335791
Deuteranopia (green-blind)
#294F8E
Tritanopia (blue-blind)
#105D68
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3e4f8f;
/* rgb */ color: rgb(62, 79, 143);
/* oklch */ color: oklch(44.6% 0.107 270.4);
Tailwind
colors: {
  custom: {
    50: '#7a80b0',
    500: '#3e4f8f',
    950: '#000000',
  },
}
SCSS
$custom: #3e4f8f;
$custom-light: #7a80b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4f8f",
  "rgb": {
    "r": 62,
    "g": 79,
    "b": 143
  },
  "hsl": {
    "h": 227.407,
    "s": 39.512,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44621,
    "c": 0.10686,
    "h": 270.4
  },
  "luminance": 0.08599
}

Semantic roles & 50–950 ramp

primary
#3E4F8F
secondary
#B2A677
accent
#B658CF
background
#F7F7FA
surface
#EEEEF5
border
#C9C9CF
text
#0A0A10
muted
#7C7C7F

Preview Lab

Preview with #3E4F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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