#3E5CBB#3E5CBB

#3E5CBB is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.4% C 0.154 H 267.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#3E5CBB
RGBrgb(62, 92, 187)
HSLhsl(226, 50%, 49%)
HSVhsv(226, 67%, 73%)
CMYKcmyk(66.8%, 50.8%, 0%, 26.7%)
CIE-LABlab(41.63, 20.45, -53.47)
CIE-LCHlch(41.63, 57.25, 290.93°)
OKLaboklab(50.43% -0.0068 -0.1534)
OKLCHoklch(50.43% 0.154 267.5)
XYZxyz(14.7803, 12.2649, 48.5925)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5CBB #BB9D3E
analogous
#3E9BBB #3E5CBB #5F3EBB
triadic
#3E5CBB #BB3E5C #5CBB3E
tetradic
#3E5CBB #BB3E9B #BB9D3E #3EBB5F
square
#3E5CBB #BB3E9B #BB9D3E #3EBB5F
split-complementary
#3E5CBB #BB5F3E #9BBB3E
monochromatic
#202F5F #2F458D #3E5CBB #6981CD #97A8DC

Accessibility & contrast

On white

6.08
#3E5CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#3E5CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5CBB
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5CBB#FFFFFF#000000##FFFFFF
##3E5CBB1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2568BE
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3e5cbb;
/* rgb */ color: rgb(62, 92, 187);
/* oklch */ color: oklch(50.4% 0.154 267.5);
Tailwind
colors: {
  custom: {
    50: '#8189d0',
    500: '#3e5cbb',
    950: '#000000',
  },
}
SCSS
$custom: #3e5cbb;
$custom-light: #8189d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5cbb",
  "rgb": {
    "r": 62,
    "g": 92,
    "b": 187
  },
  "hsl": {
    "h": 225.6,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50428,
    "c": 0.15356,
    "h": 267.5
  },
  "luminance": 0.12266
}

Semantic roles & 50–950 ramp

primary
#3E5CBB
secondary
#C8BA8D
accent
#B84EDA
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #3E5CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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