#3E5FA2#3E5FA2

#3E5FA2 is a mid, moderate blue. Relative luminance 0.118; OKLCH L 49.4% C 0.114 H 263.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#3E5FA2
RGBrgb(62, 95, 162)
HSLhsl(220, 45%, 44%)
HSVhsv(220, 62%, 64%)
CMYKcmyk(61.7%, 41.4%, 0%, 36.5%)
CIE-LABlab(40.92, 9.58, -39.89)
CIE-LCHlch(40.92, 41.02, 283.50°)
OKLaboklab(49.38% -0.0138 -0.1135)
OKLCHoklch(49.38% 0.114 263.1)
XYZxyz(12.5981, 11.8161, 35.7922)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5FA2 #A2813E
analogous
#3E91A2 #3E5FA2 #4F3EA2
triadic
#3E5FA2 #A23E5F #5FA23E
tetradic
#3E5FA2 #A23E91 #A2813E #3EA24F
square
#3E5FA2 #A23E91 #A2813E #3EA24F
split-complementary
#3E5FA2 #A24F3E #91A23E
monochromatic
#1C2B49 #2D4576 #3E5FA2 #5C7EC1 #89A1D2

Accessibility & contrast

On white

6.24
#3E5FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#3E5FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5FA2
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5FA2#FFFFFF#000000##FFFFFF
##3E5FA21.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4265A5
Deuteranopia (green-blind)
#345CA1
Tritanopia (blue-blind)
#006E78
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3e5fa2;
/* rgb */ color: rgb(62, 95, 162);
/* oklch */ color: oklch(49.4% 0.114 263.1);
Tailwind
colors: {
  custom: {
    50: '#7c8cbe',
    500: '#3e5fa2',
    950: '#000000',
  },
}
SCSS
$custom: #3e5fa2;
$custom-light: #7c8cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5fa2",
  "rgb": {
    "r": 62,
    "g": 95,
    "b": 162
  },
  "hsl": {
    "h": 220.2,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49383,
    "c": 0.11429,
    "h": 263.1
  },
  "luminance": 0.11817
}

Semantic roles & 50–950 ramp

primary
#3E5FA2
secondary
#BCA880
accent
#AA53D4
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3E5FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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