#3E4E7B#3E4E7B

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

Color values

HEX#3E4E7B
RGBrgb(62, 78, 123)
HSLhsl(224, 33%, 36%)
HSVhsv(224, 50%, 48%)
CMYKcmyk(49.6%, 36.6%, 0%, 51.8%)
CIE-LABlab(33.78, 7.13, -27.53)
CIE-LCHlch(33.78, 28.44, 284.52°)
OKLaboklab(43.16% -0.0024 -0.0775)
OKLCHoklch(43.16% 0.078 268.2)
XYZxyz(8.2850, 7.9025, 19.8238)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4E7B #7B6B3E
analogous
#3E6D7B #3E4E7B #4D3E7B
triadic
#3E4E7B #7B3E4E #4E7B3E
tetradic
#3E4E7B #7B3E6D #7B6B3E #3E7B4D
square
#3E4E7B #7B3E6D #7B6B3E #3E7B4D
split-complementary
#3E4E7B #7B4D3E #6D7B3E
monochromatic
#151A2A #293452 #3E4E7B #5368A4 #788ABB

Accessibility & contrast

On white

8.14
#3E4E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3E4E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4E7B
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4E7B#FFFFFF#000000##FFFFFF
##3E4E7B1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D527D
Deuteranopia (green-blind)
#374D7A
Tritanopia (blue-blind)
#26575E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3e4e7b;
/* rgb */ color: rgb(62, 78, 123);
/* oklch */ color: oklch(43.2% 0.078 268.2);
Tailwind
colors: {
  custom: {
    50: '#777fa1',
    500: '#3e4e7b',
    950: '#000000',
  },
}
SCSS
$custom: #3e4e7b;
$custom-light: #777fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4e7b",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 123
  },
  "hsl": {
    "h": 224.262,
    "s": 32.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43159,
    "c": 0.07755,
    "h": 268.2
  },
  "luminance": 0.07903
}

Semantic roles & 50–950 ramp

primary
#3E4E7B
secondary
#A5976F
accent
#AD5FC9
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#090A0F
muted
#7B7C7E

Preview Lab

Preview with #3E4E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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