#3E5BBA#3E5BBA

#3E5BBA is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.1% C 0.153 H 267.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#3E5BBA
RGBrgb(62, 91, 186)
HSLhsl(226, 50%, 49%)
HSVhsv(226, 67%, 73%)
CMYKcmyk(66.7%, 51.1%, 0%, 27.1%)
CIE-LABlab(41.30, 20.74, -53.43)
CIE-LCHlch(41.30, 57.31, 291.21°)
OKLaboklab(50.15% -0.006 -0.1533)
OKLCHoklch(50.15% 0.153 267.8)
XYZxyz(14.5876, 12.0501, 48.0020)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5BBA #BA9D3E
analogous
#3E99BA #3E5BBA #5F3EBA
triadic
#3E5BBA #BA3E5B #5BBA3E
tetradic
#3E5BBA #BA3E99 #BA9D3E #3EBA5F
square
#3E5BBA #BA3E99 #BA9D3E #3EBA5F
split-complementary
#3E5BBA #BA5F3E #99BA3E
monochromatic
#1F2E5E #2F458C #3E5BBA #6880CD #96A7DC

Accessibility & contrast

On white

6.16
#3E5BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#3E5BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5BBA
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5BBA#FFFFFF#000000##FFFFFF
##3E5BBA1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2367BD
Deuteranopia (green-blind)
#005CB8
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3e5bba;
/* rgb */ color: rgb(62, 91, 186);
/* oklch */ color: oklch(50.1% 0.153 267.8);
Tailwind
colors: {
  custom: {
    50: '#8189cf',
    500: '#3e5bba',
    950: '#000000',
  },
}
SCSS
$custom: #3e5bba;
$custom-light: #8189cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5bba",
  "rgb": {
    "r": 62,
    "g": 91,
    "b": 186
  },
  "hsl": {
    "h": 225.968,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5015,
    "c": 0.15344,
    "h": 267.8
  },
  "luminance": 0.12051
}

Semantic roles & 50–950 ramp

primary
#3E5BBA
secondary
#C8BA8C
accent
#B94EDA
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3E5BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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