#3E4E98#3E4E98

#3E4E98 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.122 H 271.5°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#3E4E98
RGBrgb(62, 78, 152)
HSLhsl(229, 42%, 42%)
HSVhsv(229, 59%, 60%)
CMYKcmyk(59.2%, 48.7%, 0%, 40.4%)
CIE-LABlab(35.48, 17.09, -42.59)
CIE-LCHlch(35.48, 45.89, 291.86°)
OKLaboklab(45.01% 0.0033 -0.1216)
OKLCHoklch(45.01% 0.122 271.5)
XYZxyz(10.3766, 8.7391, 30.8397)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4E98 #98883E
analogous
#3E7B98 #3E4E98 #5B3E98
triadic
#3E4E98 #983E4E #4E983E
tetradic
#3E4E98 #983E7B #98883E #3E985B
square
#3E4E98 #983E7B #98883E #3E985B
split-complementary
#3E4E98 #985B3E #7B983E
monochromatic
#1B2141 #2C386D #3E4E98 #586ABB #8491CD

Accessibility & contrast

On white

7.64
#3E4E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3E4E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4E98
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4E98#FFFFFF#000000##FFFFFF
##3E4E981.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A589B
Deuteranopia (green-blind)
#1C5096
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3e4e98;
/* rgb */ color: rgb(62, 78, 152);
/* oklch */ color: oklch(45.0% 0.122 271.5);
Tailwind
colors: {
  custom: {
    50: '#7b7fb7',
    500: '#3e4e98',
    950: '#000000',
  },
}
SCSS
$custom: #3e4e98;
$custom-light: #7b7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4e98",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 229.333,
    "s": 42.056,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45013,
    "c": 0.12164,
    "h": 271.5
  },
  "luminance": 0.0874
}

Semantic roles & 50–950 ramp

primary
#3E4E98
secondary
#B7AC7B
accent
#BC56D2
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3E4E98

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

Preview Lab → · Contrast checker → · Palette generator →

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