#3E4E9D#3E4E9D

#3E4E9D is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.4% C 0.129 H 271.7°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#3E4E9D
RGBrgb(62, 78, 157)
HSLhsl(230, 43%, 43%)
HSVhsv(230, 61%, 62%)
CMYKcmyk(60.5%, 50.3%, 0%, 38.4%)
CIE-LABlab(35.80, 18.85, -45.08)
CIE-LCHlch(35.80, 48.86, 292.69°)
OKLaboklab(45.37% 0.0039 -0.1289)
OKLCHoklch(45.37% 0.129 271.7)
XYZxyz(10.7948, 8.9064, 33.0420)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4E9D #9D8D3E
analogous
#3E7D9D #3E4E9D #5E3E9D
triadic
#3E4E9D #9D3E4E #4E9D3E
tetradic
#3E4E9D #9D3E7D #9D8D3E #3E9D5E
square
#3E4E9D #9D3E7D #9D8D3E #3E9D5E
split-complementary
#3E4E9D #9D5E3E #7D9D3E
monochromatic
#1B2245 #2D3871 #3E4E9D #5A6BBE #8692CF

Accessibility & contrast

On white

7.55
#3E4E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3E4E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4E9D
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4E9D#FFFFFF#000000##FFFFFF
##3E4E9D1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2559A0
Deuteranopia (green-blind)
#13509B
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3e4e9d;
/* rgb */ color: rgb(62, 78, 157);
/* oklch */ color: oklch(45.4% 0.129 271.7);
Tailwind
colors: {
  custom: {
    50: '#7c7fba',
    500: '#3e4e9d',
    950: '#000000',
  },
}
SCSS
$custom: #3e4e9d;
$custom-light: #7c7fba;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4e9d",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 157
  },
  "hsl": {
    "h": 229.895,
    "s": 43.379,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45366,
    "c": 0.12899,
    "h": 271.7
  },
  "luminance": 0.08907
}

Semantic roles & 50–950 ramp

primary
#3E4E9D
secondary
#BAAF7D
accent
#BE55D3
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3E4E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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