#3E438E#3E438E

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

Color values

HEX#3E438E
RGBrgb(62, 67, 142)
HSLhsl(236, 39%, 40%)
HSVhsv(236, 56%, 56%)
CMYKcmyk(56.3%, 52.8%, 0%, 44.3%)
CIE-LABlab(31.79, 20.86, -42.43)
CIE-LCHlch(31.79, 47.28, 296.18°)
OKLaboklab(42.01% 0.0147 -0.1212)
OKLCHoklch(42.01% 0.122 276.9)
XYZxyz(8.8747, 6.9908, 26.4677)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E438E #8E893E
analogous
#3E6B8E #3E438E #613E8E
triadic
#3E438E #8E3E43 #438E3E
tetradic
#3E438E #8E3E6B #8E893E #3E8E61
square
#3E438E #8E3E6B #8E893E #3E8E61
split-complementary
#3E438E #8E613E #6B8E3E
monochromatic
#191B39 #2B2F63 #3E438E #555BB5 #7F84C7

Accessibility & contrast

On white

8.76
#3E438E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E438E
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E438E#FFFFFF#000000##FFFFFF
##3E438E1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4E91
Deuteranopia (green-blind)
#0E488C
Tritanopia (blue-blind)
#165462
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3e438e;
/* rgb */ color: rgb(62, 67, 142);
/* oklch */ color: oklch(42.0% 0.122 276.9);
Tailwind
colors: {
  custom: {
    50: '#7a77b0',
    500: '#3e438e',
    950: '#000000',
  },
}
SCSS
$custom: #3e438e;
$custom-light: #7a77b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e438e",
  "rgb": {
    "r": 62,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 236.25,
    "s": 39.216,
    "l": 40
  },
  "oklch": {
    "l": 0.42009,
    "c": 0.12213,
    "h": 276.9
  },
  "luminance": 0.06991
}

Semantic roles & 50–950 ramp

primary
#3E438E
secondary
#B1AE76
accent
#C859CF
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #3E438E

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

Preview Lab → · Contrast checker → · Palette generator →

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