#3E538D#3E538D

#3E538D is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.4% C 0.099 H 267.4°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#3E538D
RGBrgb(62, 83, 141)
HSLhsl(224, 39%, 40%)
HSVhsv(224, 56%, 55%)
CMYKcmyk(56%, 41.1%, 0%, 44.7%)
CIE-LABlab(36.24, 9.97, -34.70)
CIE-LCHlch(36.24, 36.11, 286.04°)
OKLaboklab(45.38% -0.0045 -0.0984)
OKLCHoklch(45.38% 0.099 267.4)
XYZxyz(9.8860, 9.1330, 26.4360)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E538D #8D783E
analogous
#3E7A8D #3E538D #513E8D
triadic
#3E538D #8D3E53 #538D3E
tetradic
#3E538D #8D3E7A #8D783E #3E8D51
square
#3E538D #8D3E7A #8D783E #3E8D51
split-complementary
#3E538D #8D513E #7A8D3E
monochromatic
#192138 #2B3A62 #3E538D #546EB4 #7F92C7

Accessibility & contrast

On white

7.43
#3E538D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3E538D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E538D
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E538D#FFFFFF#000000##FFFFFF
##3E538D1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B598F
Deuteranopia (green-blind)
#32528C
Tritanopia (blue-blind)
#126069
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3e538d;
/* rgb */ color: rgb(62, 83, 141);
/* oklch */ color: oklch(45.4% 0.099 267.4);
Tailwind
colors: {
  custom: {
    50: '#7983ae',
    500: '#3e538d',
    950: '#000000',
  },
}
SCSS
$custom: #3e538d;
$custom-light: #7983ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3e538d",
  "rgb": {
    "r": 62,
    "g": 83,
    "b": 141
  },
  "hsl": {
    "h": 224.051,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45381,
    "c": 0.0985,
    "h": 267.4
  },
  "luminance": 0.09134
}

Semantic roles & 50–950 ramp

primary
#3E538D
secondary
#B1A176
accent
#B059CF
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3E538D

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

Preview Lab → · Contrast checker → · Palette generator →

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