#3E4FBA#3E4FBA

#3E4FBA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.8% C 0.169 H 271.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#3E4FBA
RGBrgb(62, 79, 186)
HSLhsl(232, 50%, 49%)
HSVhsv(232, 67%, 73%)
CMYKcmyk(66.7%, 57.5%, 0%, 27.1%)
CIE-LABlab(38.13, 28.48, -58.56)
CIE-LCHlch(38.13, 65.12, 295.94°)
OKLaboklab(47.77% 0.0048 -0.1686)
OKLCHoklch(47.77% 0.169 271.6)
XYZxyz(13.6425, 10.1600, 47.6870)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4FBA #BAA93E
analogous
#3E8DBA #3E4FBA #6B3EBA
triadic
#3E4FBA #BA3E4F #4FBA3E
tetradic
#3E4FBA #BA3E8D #BAA93E #3EBA6B
square
#3E4FBA #BA3E8D #BAA93E #3EBA6B
split-complementary
#3E4FBA #BA6B3E #8DBA3E
monochromatic
#1F285E #2F3C8C #3E4FBA #6876CD #96A0DC

Accessibility & contrast

On white

6.93
#3E4FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3E4FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E4FBA
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4FBA#FFFFFF#000000##FFFFFF
##3E4FBA1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BE
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3e4fba;
/* rgb */ color: rgb(62, 79, 186);
/* oklch */ color: oklch(47.8% 0.169 271.6);
Tailwind
colors: {
  custom: {
    50: '#8280d0',
    500: '#3e4fba',
    950: '#000000',
  },
}
SCSS
$custom: #3e4fba;
$custom-light: #8280d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4fba",
  "rgb": {
    "r": 62,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 231.774,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47767,
    "c": 0.16863,
    "h": 271.6
  },
  "luminance": 0.10161
}

Semantic roles & 50–950 ramp

primary
#3E4FBA
secondary
#C8C08C
accent
#C64EDA
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #3E4FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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