#3E5FB2#3E5FB2

#3E5FB2 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.4% C 0.137 H 265.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#3E5FB2
RGBrgb(62, 95, 178)
HSLhsl(223, 48%, 47%)
HSVhsv(223, 65%, 70%)
CMYKcmyk(65.2%, 46.6%, 0%, 30.2%)
CIE-LABlab(41.88, 15.28, -47.81)
CIE-LCHlch(41.88, 50.19, 287.73°)
OKLaboklab(50.43% -0.0108 -0.1367)
OKLCHoklch(50.43% 0.137 265.5)
XYZxyz(14.1119, 12.4216, 43.7648)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5FB2 #B2913E
analogous
#3E99B2 #3E5FB2 #573EB2
triadic
#3E5FB2 #B23E5F #5FB23E
tetradic
#3E5FB2 #B23E99 #B2913E #3EB257
square
#3E5FB2 #B23E99 #B2913E #3EB257
split-complementary
#3E5FB2 #B2573E #99B23E
monochromatic
#1E2F57 #2E4785 #3E5FB2 #6481C9 #92A6D9

Accessibility & contrast

On white

6.03
#3E5FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#3E5FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5FB2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5FB2#FFFFFF#000000##FFFFFF
##3E5FB21.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3668B5
Deuteranopia (green-blind)
#205EB0
Tritanopia (blue-blind)
#007280
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #3e5fb2;
/* rgb */ color: rgb(62, 95, 178);
/* oklch */ color: oklch(50.4% 0.137 265.5);
Tailwind
colors: {
  custom: {
    50: '#7f8bc9',
    500: '#3e5fb2',
    950: '#000000',
  },
}
SCSS
$custom: #3e5fb2;
$custom-light: #7f8bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5fb2",
  "rgb": {
    "r": 62,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 222.931,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50428,
    "c": 0.13715,
    "h": 265.5
  },
  "luminance": 0.12423
}

Semantic roles & 50–950 ramp

primary
#3E5FB2
secondary
#C4B388
accent
#B150D8
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82

Preview Lab

Preview with #3E5FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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