#3E4E85#3E4E85

#3E4E85 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.8% C 0.093 H 270.0°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#3E4E85
RGBrgb(62, 78, 133)
HSLhsl(226, 36%, 38%)
HSVhsv(226, 53%, 52%)
CMYKcmyk(53.4%, 41.4%, 0%, 47.8%)
CIE-LABlab(34.33, 10.50, -32.84)
CIE-LCHlch(34.33, 34.48, 287.72°)
OKLaboklab(43.76% 0 -0.093)
OKLCHoklch(43.76% 0.093 270)
XYZxyz(8.9433, 8.1658, 23.2906)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4E85 #85753E
analogous
#3E7185 #3E4E85 #513E85
triadic
#3E4E85 #853E4E #4E853E
tetradic
#3E4E85 #853E71 #85753E #3E8551
square
#3E4E85 #853E71 #85753E #3E8551
split-complementary
#3E4E85 #85513E #71853E
monochromatic
#171D32 #2B365B #3E4E85 #5267AE #7C8BC2

Accessibility & contrast

On white

7.98
#3E4E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3E4E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4E85
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4E85#FFFFFF#000000##FFFFFF
##3E4E851.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385487
Deuteranopia (green-blind)
#304E84
Tritanopia (blue-blind)
#1E5A63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3e4e85;
/* rgb */ color: rgb(62, 78, 133);
/* oklch */ color: oklch(43.8% 0.093 270.0);
Tailwind
colors: {
  custom: {
    50: '#787fa9',
    500: '#3e4e85',
    950: '#000000',
  },
}
SCSS
$custom: #3e4e85;
$custom-light: #787fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4e85",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 133
  },
  "hsl": {
    "h": 226.479,
    "s": 36.41,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4376,
    "c": 0.09301,
    "h": 270
  },
  "luminance": 0.08166
}

Semantic roles & 50–950 ramp

primary
#3E4E85
secondary
#AC9F73
accent
#B35BCC
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3E4E85

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

Preview Lab → · Contrast checker → · Palette generator →

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