#3E4EA2#3E4EA2

#3E4EA2 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.136 H 271.9°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#3E4EA2
RGBrgb(62, 78, 162)
HSLhsl(230, 45%, 44%)
HSVhsv(230, 62%, 64%)
CMYKcmyk(61.7%, 51.9%, 0%, 36.5%)
CIE-LABlab(36.14, 20.61, -47.55)
CIE-LCHlch(36.14, 51.82, 293.44°)
OKLaboklab(45.73% 0.0044 -0.1362)
OKLCHoklch(45.73% 0.136 271.9)
XYZxyz(11.2304, 9.0806, 35.3363)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4EA2 #A2923E
analogous
#3E80A2 #3E4EA2 #603EA2
triadic
#3E4EA2 #A23E4E #4EA23E
tetradic
#3E4EA2 #A23E80 #A2923E #3EA260
square
#3E4EA2 #A23E80 #A2923E #3EA260
split-complementary
#3E4EA2 #A2603E #80A23E
monochromatic
#1C2349 #2D3976 #3E4EA2 #5C6CC1 #8994D2

Accessibility & contrast

On white

7.46
#3E4EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3E4EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4EA2
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4EA2#FFFFFF#000000##FFFFFF
##3E4EA21.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5AA5
Deuteranopia (green-blind)
#0351A0
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3e4ea2;
/* rgb */ color: rgb(62, 78, 162);
/* oklch */ color: oklch(45.7% 0.136 271.9);
Tailwind
colors: {
  custom: {
    50: '#7d7fbe',
    500: '#3e4ea2',
    950: '#000000',
  },
}
SCSS
$custom: #3e4ea2;
$custom-light: #7d7fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4ea2",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 230.4,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45727,
    "c": 0.13625,
    "h": 271.9
  },
  "luminance": 0.09082
}

Semantic roles & 50–950 ramp

primary
#3E4EA2
secondary
#BCB380
accent
#C053D4
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3E4EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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