#3E538C#3E538C

#3E538C is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.3% C 0.097 H 267.2°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#3E538C
RGBrgb(62, 83, 140)
HSLhsl(224, 39%, 40%)
HSVhsv(224, 56%, 55%)
CMYKcmyk(55.7%, 40.7%, 0%, 45.1%)
CIE-LABlab(36.18, 9.63, -34.18)
CIE-LCHlch(36.18, 35.51, 285.73°)
OKLaboklab(45.32% -0.0047 -0.0969)
OKLCHoklch(45.32% 0.097 267.2)
XYZxyz(9.8119, 9.1034, 26.0459)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E538C #8C773E
analogous
#3E7A8C #3E538C #503E8C
triadic
#3E538C #8C3E53 #538C3E
tetradic
#3E538C #8C3E7A #8C773E #3E8C50
square
#3E538C #8C3E7A #8C773E #3E8C50
split-complementary
#3E538C #8C503E #7A8C3E
monochromatic
#182137 #2B3A62 #3E538C #546EB3 #7E92C6

Accessibility & contrast

On white

7.44
#3E538C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3E538C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E538C
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E538C#FFFFFF#000000##FFFFFF
##3E538C1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C598E
Deuteranopia (green-blind)
#32528B
Tritanopia (blue-blind)
#145F68
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3e538c;
/* rgb */ color: rgb(62, 83, 140);
/* oklch */ color: oklch(45.3% 0.097 267.2);
Tailwind
colors: {
  custom: {
    50: '#7983ae',
    500: '#3e538c',
    950: '#000000',
  },
}
SCSS
$custom: #3e538c;
$custom-light: #7983ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3e538c",
  "rgb": {
    "r": 62,
    "g": 83,
    "b": 140
  },
  "hsl": {
    "h": 223.846,
    "s": 38.614,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45319,
    "c": 0.09699,
    "h": 267.2
  },
  "luminance": 0.09104
}

Semantic roles & 50–950 ramp

primary
#3E538C
secondary
#B0A076
accent
#AF59CF
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3E538C

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

Preview Lab → · Contrast checker → · Palette generator →

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