#3E4A8A#3E4A8A

#3E4A8A is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.2% C 0.106 H 273.2°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#3E4A8A
RGBrgb(62, 74, 138)
HSLhsl(231, 38%, 39%)
HSVhsv(231, 55%, 54%)
CMYKcmyk(55.1%, 46.4%, 0%, 45.9%)
CIE-LABlab(33.47, 14.85, -37.28)
CIE-LCHlch(33.47, 40.12, 291.72°)
OKLaboklab(43.2% 0.0059 -0.106)
OKLCHoklch(43.2% 0.106 273.2)
XYZxyz(9.0214, 7.7561, 25.0615)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4A8A #8A7E3E
analogous
#3E708A #3E4A8A #583E8A
triadic
#3E4A8A #8A3E4A #4A8A3E
tetradic
#3E4A8A #8A3E70 #8A7E3E #3E8A58
square
#3E4A8A #8A3E70 #8A7E3E #3E8A58
split-complementary
#3E4A8A #8A583E #708A3E
monochromatic
#181D36 #2B3360 #3E4A8A #5362B2 #7E89C5

Accessibility & contrast

On white

8.23
#3E4A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3E4A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4A8A
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4A8A#FFFFFF#000000##FFFFFF
##3E4A8A1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528C
Deuteranopia (green-blind)
#254C89
Tritanopia (blue-blind)
#195863
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3e4a8a;
/* rgb */ color: rgb(62, 74, 138);
/* oklch */ color: oklch(43.2% 0.106 273.2);
Tailwind
colors: {
  custom: {
    50: '#797cac',
    500: '#3e4a8a',
    950: '#000000',
  },
}
SCSS
$custom: #3e4a8a;
$custom-light: #797cac;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4a8a",
  "rgb": {
    "r": 62,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 230.526,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43201,
    "c": 0.10619,
    "h": 273.2
  },
  "luminance": 0.07757
}

Semantic roles & 50–950 ramp

primary
#3E4A8A
secondary
#AFA675
accent
#BC5ACE
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #3E4A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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