#3E438C#3E438C

#3E438C is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.9% C 0.119 H 277.0°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#3E438C
RGBrgb(62, 67, 140)
HSLhsl(236, 39%, 40%)
HSVhsv(236, 56%, 55%)
CMYKcmyk(55.7%, 52.1%, 0%, 45.1%)
CIE-LABlab(31.65, 20.17, -41.42)
CIE-LCHlch(31.65, 46.07, 295.97°)
OKLaboklab(41.86% 0.0145 -0.1183)
OKLCHoklch(41.86% 0.119 277)
XYZxyz(8.7259, 6.9313, 25.6839)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E438C #8C873E
analogous
#3E6A8C #3E438C #603E8C
triadic
#3E438C #8C3E43 #438C3E
tetradic
#3E438C #8C3E6A #8C873E #3E8C60
square
#3E438C #8C3E6A #8C873E #3E8C60
split-complementary
#3E438C #8C603E #6A8C3E
monochromatic
#181A37 #2B2F62 #3E438C #545AB3 #7E83C6

Accessibility & contrast

On white

8.80
#3E438C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3E438C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E438C
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E438C#FFFFFF#000000##FFFFFF
##3E438C1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E8F
Deuteranopia (green-blind)
#12478A
Tritanopia (blue-blind)
#185361
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e438c;
/* rgb */ color: rgb(62, 67, 140);
/* oklch */ color: oklch(41.9% 0.119 277.0);
Tailwind
colors: {
  custom: {
    50: '#7a77ae',
    500: '#3e438c',
    950: '#000000',
  },
}
SCSS
$custom: #3e438c;
$custom-light: #7a77ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3e438c",
  "rgb": {
    "r": 62,
    "g": 67,
    "b": 140
  },
  "hsl": {
    "h": 236.154,
    "s": 38.614,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41863,
    "c": 0.11917,
    "h": 277
  },
  "luminance": 0.06932
}

Semantic roles & 50–950 ramp

primary
#3E438C
secondary
#B0AC76
accent
#C759CF
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #3E438C

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

Preview Lab → · Contrast checker → · Palette generator →

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