#3E5FBD#3E5FBD

#3E5FBD is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.2% C 0.153 H 266.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#3E5FBD
RGBrgb(62, 95, 189)
HSLhsl(224, 51%, 49%)
HSVhsv(224, 67%, 74%)
CMYKcmyk(67.2%, 49.7%, 0%, 25.9%)
CIE-LABlab(42.58, 19.24, -53.10)
CIE-LCHlch(42.58, 56.48, 289.92°)
OKLaboklab(51.19% -0.0093 -0.1523)
OKLCHoklch(51.19% 0.153 266.5)
XYZxyz(15.2609, 12.8812, 49.8163)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5FBD #BD9C3E
analogous
#3E9FBD #3E5FBD #5C3EBD
triadic
#3E5FBD #BD3E5F #5FBD3E
tetradic
#3E5FBD #BD3E9F #BD9C3E #3EBD5C
square
#3E5FBD #BD3E9F #BD9C3E #3EBD5C
split-complementary
#3E5FBD #BD5C3E #9FBD3E
monochromatic
#203161 #2F488F #3E5FBD #6A84CE #98AADD

Accessibility & contrast

On white

5.87
#3E5FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#3E5FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5FBD
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5FBD#FFFFFF#000000##FFFFFF
##3E5FBD1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6BC0
Deuteranopia (green-blind)
#015FBB
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3e5fbd;
/* rgb */ color: rgb(62, 95, 189);
/* oklch */ color: oklch(51.2% 0.153 266.5);
Tailwind
colors: {
  custom: {
    50: '#818bd1',
    500: '#3e5fbd',
    950: '#000000',
  },
}
SCSS
$custom: #3e5fbd;
$custom-light: #818bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5fbd",
  "rgb": {
    "r": 62,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 224.409,
    "s": 50.598,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51192,
    "c": 0.15259,
    "h": 266.5
  },
  "luminance": 0.12883
}

Semantic roles & 50–950 ramp

primary
#3E5FBD
secondary
#C9BA8E
accent
#B64EDA
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3E5FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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