#3E4697#3E4697

#3E4697 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.3% C 0.131 H 275.2°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#3E4697
RGBrgb(62, 70, 151)
HSLhsl(235, 42%, 42%)
HSVhsv(235, 59%, 59%)
CMYKcmyk(58.9%, 53.6%, 0%, 40.8%)
CIE-LABlab(33.22, 22.00, -45.62)
CIE-LCHlch(33.22, 50.65, 295.75°)
OKLaboklab(43.28% 0.012 -0.1306)
OKLCHoklch(43.28% 0.131 275.2)
XYZxyz(9.7609, 7.6381, 30.2321)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4697 #978F3E
analogous
#3E7397 #3E4697 #633E97
triadic
#3E4697 #973E46 #46973E
tetradic
#3E4697 #973E73 #978F3E #3E9763
square
#3E4697 #973E73 #978F3E #3E9763
split-complementary
#3E4697 #97633E #73973E
monochromatic
#1A1E40 #2C326C #3E4697 #5861BA #838ACC

Accessibility & contrast

On white

8.31
#3E4697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3E4697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4697
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4697#FFFFFF#000000##FFFFFF
##3E46971.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17529A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#015967
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3e4697;
/* rgb */ color: rgb(62, 70, 151);
/* oklch */ color: oklch(43.3% 0.131 275.2);
Tailwind
colors: {
  custom: {
    50: '#7c79b6',
    500: '#3e4697',
    950: '#000000',
  },
}
SCSS
$custom: #3e4697;
$custom-light: #7c79b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4697",
  "rgb": {
    "r": 62,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 234.607,
    "s": 41.784,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43284,
    "c": 0.13115,
    "h": 275.2
  },
  "luminance": 0.07639
}

Semantic roles & 50–950 ramp

primary
#3E4697
secondary
#B6B17A
accent
#C756D2
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #3E4697

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

Preview Lab → · Contrast checker → · Palette generator →

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