#3E438F#3E438F

#3E438F is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.124 H 276.9°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#3E438F
RGBrgb(62, 67, 143)
HSLhsl(236, 40%, 40%)
HSVhsv(236, 57%, 56%)
CMYKcmyk(56.6%, 53.1%, 0%, 43.9%)
CIE-LABlab(31.85, 21.20, -42.93)
CIE-LCHlch(31.85, 47.88, 296.29°)
OKLaboklab(42.08% 0.0148 -0.1227)
OKLCHoklch(42.08% 0.124 276.9)
XYZxyz(8.9501, 7.0210, 26.8648)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E438F #8F8A3E
analogous
#3E6C8F #3E438F #613E8F
triadic
#3E438F #8F3E43 #438F3E
tetradic
#3E438F #8F3E6C #8F8A3E #3E8F61
square
#3E438F #8F3E6C #8F8A3E #3E8F61
split-complementary
#3E438F #8F613E #6C8F3E
monochromatic
#191B3A #2B2F64 #3E438F #555BB5 #8084C8

Accessibility & contrast

On white

8.73
#3E438F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3E438F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E438F
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E438F#FFFFFF#000000##FFFFFF
##3E438F1.008.732.408.73
#FFFFFF8.731.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4E92
Deuteranopia (green-blind)
#0B488D
Tritanopia (blue-blind)
#145462
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3e438f;
/* rgb */ color: rgb(62, 67, 143);
/* oklch */ color: oklch(42.1% 0.124 276.9);
Tailwind
colors: {
  custom: {
    50: '#7a77b0',
    500: '#3e438f',
    950: '#000000',
  },
}
SCSS
$custom: #3e438f;
$custom-light: #7a77b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e438f",
  "rgb": {
    "r": 62,
    "g": 67,
    "b": 143
  },
  "hsl": {
    "h": 236.296,
    "s": 39.512,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42083,
    "c": 0.1236,
    "h": 276.9
  },
  "luminance": 0.07022
}

Semantic roles & 50–950 ramp

primary
#3E438F
secondary
#B2AE77
accent
#C858CF
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #3E438F

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

Preview Lab → · Contrast checker → · Palette generator →

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