#3E4FAF#3E4FAF

#3E4FAF is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.153 H 271.6°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#3E4FAF
RGBrgb(62, 79, 175)
HSLhsl(231, 48%, 46%)
HSVhsv(231, 65%, 69%)
CMYKcmyk(64.6%, 54.9%, 0%, 31.4%)
CIE-LABlab(37.32, 24.58, -53.39)
CIE-LCHlch(37.32, 58.77, 294.72°)
OKLaboklab(46.9% 0.0044 -0.1533)
OKLCHoklch(46.9% 0.153 271.6)
XYZxyz(12.5179, 9.7101, 41.7637)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4FAF #AF9E3E
analogous
#3E88AF #3E4FAF #663EAF
triadic
#3E4FAF #AF3E4F #4FAF3E
tetradic
#3E4FAF #AF3E88 #AF9E3E #3EAF66
square
#3E4FAF #AF3E88 #AF9E3E #3EAF66
split-complementary
#3E4FAF #AF663E #88AF3E
monochromatic
#1E2655 #2E3B82 #3E4FAF #6372C8 #909BD8

Accessibility & contrast

On white

7.14
#3E4FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#3E4FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4FAF
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4FAF#FFFFFF#000000##FFFFFF
##3E4FAF1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065DB2
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3e4faf;
/* rgb */ color: rgb(62, 79, 175);
/* oklch */ color: oklch(46.9% 0.153 271.6);
Tailwind
colors: {
  custom: {
    50: '#7f80c8',
    500: '#3e4faf',
    950: '#000000',
  },
}
SCSS
$custom: #3e4faf;
$custom-light: #7f80c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4faf",
  "rgb": {
    "r": 62,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 230.973,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.46904,
    "c": 0.15341,
    "h": 271.6
  },
  "luminance": 0.09711
}

Semantic roles & 50–950 ramp

primary
#3E4FAF
secondary
#C3BA86
accent
#C351D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3E4FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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