#3E438B#3E438B

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

Color values

HEX#3E438B
RGBrgb(62, 67, 139)
HSLhsl(236, 38%, 39%)
HSVhsv(236, 55%, 55%)
CMYKcmyk(55.4%, 51.8%, 0%, 45.5%)
CIE-LABlab(31.58, 19.83, -40.91)
CIE-LCHlch(31.58, 45.46, 295.86°)
OKLaboklab(41.79% 0.0144 -0.1168)
OKLCHoklch(41.79% 0.118 277)
XYZxyz(8.6525, 6.9020, 25.2974)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E438B #8B863E
analogous
#3E6A8B #3E438B #603E8B
triadic
#3E438B #8B3E43 #438B3E
tetradic
#3E438B #8B3E6A #8B863E #3E8B60
square
#3E438B #8B3E6A #8B863E #3E8B60
split-complementary
#3E438B #8B603E #6A8B3E
monochromatic
#181A36 #2B2F61 #3E438B #545AB3 #7E83C5

Accessibility & contrast

On white

8.82
#3E438B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3E438B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E438B
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E438B#FFFFFF#000000##FFFFFF
##3E438B1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4E8E
Deuteranopia (green-blind)
#144789
Tritanopia (blue-blind)
#195360
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e438b;
/* rgb */ color: rgb(62, 67, 139);
/* oklch */ color: oklch(41.8% 0.118 277.0);
Tailwind
colors: {
  custom: {
    50: '#7a77ad',
    500: '#3e438b',
    950: '#000000',
  },
}
SCSS
$custom: #3e438b;
$custom-light: #7a77ad;
$custom-dark: #000000;
JSON
{
  "hex": "#3e438b",
  "rgb": {
    "r": 62,
    "g": 67,
    "b": 139
  },
  "hsl": {
    "h": 236.104,
    "s": 38.308,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41791,
    "c": 0.11767,
    "h": 277
  },
  "luminance": 0.06903
}

Semantic roles & 50–950 ramp

primary
#3E438B
secondary
#B0AC75
accent
#C75ACE
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #3E438B

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

Preview Lab → · Contrast checker → · Palette generator →

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