#3E4BB8#3E4BB8

#3E4BB8 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.8% C 0.171 H 272.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#3E4BB8
RGBrgb(62, 75, 184)
HSLhsl(234, 50%, 48%)
HSVhsv(234, 66%, 72%)
CMYKcmyk(66.3%, 59.2%, 0%, 27.8%)
CIE-LABlab(36.96, 30.34, -59.28)
CIE-LCHlch(36.96, 66.60, 297.10°)
OKLaboklab(46.85% 0.0082 -0.1707)
OKLCHoklch(46.85% 0.171 272.7)
XYZxyz(13.1515, 9.5158, 46.4818)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4BB8 #B8AB3E
analogous
#3E88B8 #3E4BB8 #6E3EB8
triadic
#3E4BB8 #B83E4B #4BB83E
tetradic
#3E4BB8 #B83E88 #B8AB3E #3EB86E
square
#3E4BB8 #B83E88 #B8AB3E #3EB86E
split-complementary
#3E4BB8 #B86E3E #88B83E
monochromatic
#1F265C #2F388A #3E4BB8 #6772CC #959DDB

Accessibility & contrast

On white

7.23
#3E4BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3E4BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4BB8
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4BB8#FFFFFF#000000##FFFFFF
##3E4BB81.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#0052B6
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3e4bb8;
/* rgb */ color: rgb(62, 75, 184);
/* oklch */ color: oklch(46.8% 0.171 272.7);
Tailwind
colors: {
  custom: {
    50: '#817dce',
    500: '#3e4bb8',
    950: '#000000',
  },
}
SCSS
$custom: #3e4bb8;
$custom-light: #817dce;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4bb8",
  "rgb": {
    "r": 62,
    "g": 75,
    "b": 184
  },
  "hsl": {
    "h": 233.607,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46849,
    "c": 0.17094,
    "h": 272.7
  },
  "luminance": 0.09517
}

Semantic roles & 50–950 ramp

primary
#3E4BB8
secondary
#C7C08B
accent
#CA4FD9
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3E4BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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