#3E528D#3E528D

#3E528D is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.2% C 0.100 H 268.1°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#3E528D
RGBrgb(62, 82, 141)
HSLhsl(225, 39%, 40%)
HSVhsv(225, 56%, 55%)
CMYKcmyk(56%, 41.8%, 0%, 44.7%)
CIE-LABlab(35.95, 10.62, -35.16)
CIE-LCHlch(35.95, 36.73, 286.81°)
OKLaboklab(45.16% -0.0032 -0.0998)
OKLCHoklch(45.16% 0.1 268.1)
XYZxyz(9.8100, 8.9811, 26.4107)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E528D #8D793E
analogous
#3E7A8D #3E528D #523E8D
triadic
#3E528D #8D3E52 #528D3E
tetradic
#3E528D #8D3E7A #8D793E #3E8D52
square
#3E528D #8D3E7A #8D793E #3E8D52
split-complementary
#3E528D #8D523E #7A8D3E
monochromatic
#192138 #2B3962 #3E528D #546CB4 #7F91C7

Accessibility & contrast

On white

7.51
#3E528D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#3E528D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E528D
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E528D#FFFFFF#000000##FFFFFF
##3E528D1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39588F
Deuteranopia (green-blind)
#30518C
Tritanopia (blue-blind)
#135F68
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3e528d;
/* rgb */ color: rgb(62, 82, 141);
/* oklch */ color: oklch(45.2% 0.100 268.1);
Tailwind
colors: {
  custom: {
    50: '#7982af',
    500: '#3e528d',
    950: '#000000',
  },
}
SCSS
$custom: #3e528d;
$custom-light: #7982af;
$custom-dark: #000000;
JSON
{
  "hex": "#3e528d",
  "rgb": {
    "r": 62,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 224.81,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45157,
    "c": 0.09982,
    "h": 268.1
  },
  "luminance": 0.08982
}

Semantic roles & 50–950 ramp

primary
#3E528D
secondary
#B1A276
accent
#B159CF
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3E528D

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

Preview Lab → · Contrast checker → · Palette generator →

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