#3E5FBC#3E5FBC

#3E5FBC is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.1% C 0.151 H 266.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#3E5FBC
RGBrgb(62, 95, 188)
HSLhsl(224, 50%, 49%)
HSVhsv(224, 67%, 74%)
CMYKcmyk(67%, 49.5%, 0%, 26.3%)
CIE-LABlab(42.52, 18.88, -52.63)
CIE-LCHlch(42.52, 55.91, 289.74°)
OKLaboklab(51.12% -0.0095 -0.1509)
OKLCHoklch(51.12% 0.151 266.4)
XYZxyz(15.1528, 12.8379, 49.2466)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5FBC #BC9B3E
analogous
#3E9EBC #3E5FBC #5C3EBC
triadic
#3E5FBC #BC3E5F #5FBC3E
tetradic
#3E5FBC #BC3E9E #BC9B3E #3EBC5C
square
#3E5FBC #BC3E9E #BC9B3E #3EBC5C
split-complementary
#3E5FBC #BC5C3E #9EBC3E
monochromatic
#203060 #2F488E #3E5FBC #6A84CE #98AADD

Accessibility & contrast

On white

5.89
#3E5FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#3E5FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5FBC
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5FBC#FFFFFF#000000##FFFFFF
##3E5FBC1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6ABF
Deuteranopia (green-blind)
#055FBA
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3e5fbc;
/* rgb */ color: rgb(62, 95, 188);
/* oklch */ color: oklch(51.1% 0.151 266.4);
Tailwind
colors: {
  custom: {
    50: '#818bd1',
    500: '#3e5fbc',
    950: '#000000',
  },
}
SCSS
$custom: #3e5fbc;
$custom-light: #818bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5fbc",
  "rgb": {
    "r": 62,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 224.286,
    "s": 50.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51121,
    "c": 0.15119,
    "h": 266.4
  },
  "luminance": 0.12839
}

Semantic roles & 50–950 ramp

primary
#3E5FBC
secondary
#C9B98D
accent
#B54EDA
background
#F8F8FC
surface
#F0F0F9
border
#CBCBD2
text
#0B0C14
muted
#7C7D82

Preview Lab

Preview with #3E5FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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