#3E4E8F#3E4E8F

#3E4E8F is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.4% C 0.108 H 271.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#3E4E8F
RGBrgb(62, 78, 143)
HSLhsl(228, 40%, 40%)
HSVhsv(228, 57%, 56%)
CMYKcmyk(56.6%, 45.5%, 0%, 43.9%)
CIE-LABlab(34.91, 13.94, -38.03)
CIE-LCHlch(34.91, 40.50, 290.13°)
OKLaboklab(44.4% 0.0019 -0.1082)
OKLCHoklch(44.4% 0.108 271)
XYZxyz(9.6673, 8.4554, 27.1039)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4E8F #8F7F3E
analogous
#3E768F #3E4E8F #563E8F
triadic
#3E4E8F #8F3E4E #4E8F3E
tetradic
#3E4E8F #8F3E76 #8F7F3E #3E8F56
square
#3E4E8F #8F3E76 #8F7F3E #3E8F56
split-complementary
#3E4E8F #8F563E #768F3E
monochromatic
#191F3A #2B3764 #3E4E8F #5568B5 #808EC8

Accessibility & contrast

On white

7.80
#3E4E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3E4E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4E8F
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4E8F#FFFFFF#000000##FFFFFF
##3E4E8F1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315691
Deuteranopia (green-blind)
#274F8E
Tritanopia (blue-blind)
#115C67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3e4e8f;
/* rgb */ color: rgb(62, 78, 143);
/* oklch */ color: oklch(44.4% 0.108 271.0);
Tailwind
colors: {
  custom: {
    50: '#7a7fb0',
    500: '#3e4e8f',
    950: '#000000',
  },
}
SCSS
$custom: #3e4e8f;
$custom-light: #7a7fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4e8f",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 228.148,
    "s": 39.512,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44402,
    "c": 0.10822,
    "h": 271
  },
  "luminance": 0.08456
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E4E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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