#3E5FBF#3E5FBF

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

Color values

HEX#3E5FBF
RGBrgb(62, 95, 191)
HSLhsl(225, 51%, 50%)
HSVhsv(225, 68%, 75%)
CMYKcmyk(67.5%, 50.3%, 0%, 25.1%)
CIE-LABlab(42.72, 19.96, -54.05)
CIE-LCHlch(42.72, 57.62, 290.27°)
OKLaboklab(51.33% -0.0091 -0.1551)
OKLCHoklch(51.33% 0.155 266.6)
XYZxyz(15.4795, 12.9686, 50.9675)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5FBF #BF9E3E
analogous
#3EA0BF #3E5FBF #5E3EBF
triadic
#3E5FBF #BF3E5F #5FBF3E
tetradic
#3E5FBF #BF3EA0 #BF9E3E #3EBF5E
square
#3E5FBF #BF3EA0 #BF9E3E #3EBF5E
split-complementary
#3E5FBF #BF5E3E #A0BF3E
monochromatic
#203163 #2F4891 #3E5FBF #6B85CF #99ABDE

Accessibility & contrast

On white

5.84
#3E5FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3E5FBF
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5FBF#FFFFFF#000000##FFFFFF
##3E5FBF1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286BC2
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#007686
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3e5fbf;
/* rgb */ color: rgb(62, 95, 191);
/* oklch */ color: oklch(51.3% 0.155 266.6);
Tailwind
colors: {
  custom: {
    50: '#828bd3',
    500: '#3e5fbf',
    950: '#000000',
  },
}
SCSS
$custom: #3e5fbf;
$custom-light: #828bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5fbf",
  "rgb": {
    "r": 62,
    "g": 95,
    "b": 191
  },
  "hsl": {
    "h": 224.651,
    "s": 50.988,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51335,
    "c": 0.15536,
    "h": 266.6
  },
  "luminance": 0.1297
}

Semantic roles & 50–950 ramp

primary
#3E5FBF
secondary
#CABB8F
accent
#B64DDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #3E5FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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