#3E5FBE#3E5FBE

#3E5FBE is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.3% C 0.154 H 266.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#3E5FBE
RGBrgb(62, 95, 190)
HSLhsl(225, 51%, 49%)
HSVhsv(225, 67%, 75%)
CMYKcmyk(67.4%, 50%, 0%, 25.5%)
CIE-LABlab(42.65, 19.60, -53.58)
CIE-LCHlch(42.65, 57.05, 290.10°)
OKLaboklab(51.26% -0.0092 -0.1537)
OKLCHoklch(51.26% 0.154 266.6)
XYZxyz(15.3699, 12.9248, 50.3899)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5FBE #BE9D3E
analogous
#3E9FBE #3E5FBE #5D3EBE
triadic
#3E5FBE #BE3E5F #5FBE3E
tetradic
#3E5FBE #BE3E9F #BE9D3E #3EBE5D
square
#3E5FBE #BE3E9F #BE9D3E #3EBE5D
split-complementary
#3E5FBE #BE5D3E #9FBE3E
monochromatic
#203162 #2F4890 #3E5FBE #6B84CF #99ABDE

Accessibility & contrast

On white

5.86
#3E5FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#3E5FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5FBE
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5FBE#FFFFFF#000000##FFFFFF
##3E5FBE1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296BC1
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3e5fbe;
/* rgb */ color: rgb(62, 95, 190);
/* oklch */ color: oklch(51.3% 0.154 266.6);
Tailwind
colors: {
  custom: {
    50: '#818bd2',
    500: '#3e5fbe',
    950: '#000000',
  },
}
SCSS
$custom: #3e5fbe;
$custom-light: #818bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5fbe",
  "rgb": {
    "r": 62,
    "g": 95,
    "b": 190
  },
  "hsl": {
    "h": 224.531,
    "s": 50.794,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51264,
    "c": 0.15398,
    "h": 266.6
  },
  "luminance": 0.12926
}

Semantic roles & 50–950 ramp

primary
#3E5FBE
secondary
#C9BA8E
accent
#B64EDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #3E5FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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