#3E579F#3E579F

#3E579F is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.4% C 0.120 H 267.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#3E579F
RGBrgb(62, 87, 159)
HSLhsl(225, 44%, 43%)
HSVhsv(225, 61%, 62%)
CMYKcmyk(61%, 45.3%, 0%, 37.6%)
CIE-LABlab(38.45, 13.67, -42.04)
CIE-LCHlch(38.45, 44.21, 288.02°)
OKLaboklab(47.42% -0.0056 -0.1199)
OKLCHoklch(47.42% 0.12 267.3)
XYZxyz(11.6507, 10.3428, 34.1766)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E579F #9F863E
analogous
#3E879F #3E579F #553E9F
triadic
#3E579F #9F3E57 #579F3E
tetradic
#3E579F #9F3E87 #9F863E #3E9F55
square
#3E579F #9F3E87 #9F863E #3E9F55
split-complementary
#3E579F #9F553E #879F3E
monochromatic
#1C2747 #2D3F73 #3E579F #5B75BF #879AD0

Accessibility & contrast

On white

6.84
#3E579F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#3E579F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E579F
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E579F#FFFFFF#000000##FFFFFF
##3E579F1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365FA2
Deuteranopia (green-blind)
#27569D
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3e579f;
/* rgb */ color: rgb(62, 87, 159);
/* oklch */ color: oklch(47.4% 0.120 267.3);
Tailwind
colors: {
  custom: {
    50: '#7c86bc',
    500: '#3e579f',
    950: '#000000',
  },
}
SCSS
$custom: #3e579f;
$custom-light: #7c86bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e579f",
  "rgb": {
    "r": 62,
    "g": 87,
    "b": 159
  },
  "hsl": {
    "h": 224.536,
    "s": 43.891,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47424,
    "c": 0.12,
    "h": 267.3
  },
  "luminance": 0.10344
}

Semantic roles & 50–950 ramp

primary
#3E579F
secondary
#BBAB7E
accent
#B354D4
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3E579F

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

Preview Lab → · Contrast checker → · Palette generator →

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