#3E57BA#3E57BA

#3E57BA is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.3% C 0.159 H 269.2°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#3E57BA
RGBrgb(62, 87, 186)
HSLhsl(228, 50%, 49%)
HSVhsv(228, 67%, 73%)
CMYKcmyk(66.7%, 53.2%, 0%, 27.1%)
CIE-LABlab(40.22, 23.32, -55.17)
CIE-LCHlch(40.22, 59.89, 292.91°)
OKLaboklab(49.34% -0.0023 -0.1585)
OKLCHoklch(49.34% 0.159 269.2)
XYZxyz(14.2547, 11.3844, 47.8910)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E57BA #BAA13E
analogous
#3E95BA #3E57BA #633EBA
triadic
#3E57BA #BA3E57 #57BA3E
tetradic
#3E57BA #BA3E95 #BAA13E #3EBA63
square
#3E57BA #BA3E95 #BAA13E #3EBA63
split-complementary
#3E57BA #BA633E #95BA3E
monochromatic
#1F2C5E #2F428C #3E57BA #687DCD #96A4DC

Accessibility & contrast

On white

6.41
#3E57BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#3E57BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E57BA
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E57BA#FFFFFF#000000##FFFFFF
##3E57BA1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1465BD
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3e57ba;
/* rgb */ color: rgb(62, 87, 186);
/* oklch */ color: oklch(49.3% 0.159 269.2);
Tailwind
colors: {
  custom: {
    50: '#8186cf',
    500: '#3e57ba',
    950: '#000000',
  },
}
SCSS
$custom: #3e57ba;
$custom-light: #8186cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e57ba",
  "rgb": {
    "r": 62,
    "g": 87,
    "b": 186
  },
  "hsl": {
    "h": 227.903,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49337,
    "c": 0.1585,
    "h": 269.2
  },
  "luminance": 0.11386
}

Semantic roles & 50–950 ramp

primary
#3E57BA
secondary
#C8BC8C
accent
#BD4EDA
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3E57BA

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

Preview Lab → · Contrast checker → · Palette generator →

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