#3E4E9A#3E4E9A

#3E4E9A is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.2% C 0.125 H 271.6°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#3E4E9A
RGBrgb(62, 78, 154)
HSLhsl(230, 43%, 42%)
HSVhsv(230, 60%, 60%)
CMYKcmyk(59.7%, 49.4%, 0%, 39.6%)
CIE-LABlab(35.61, 17.79, -43.59)
CIE-LCHlch(35.61, 47.08, 292.20°)
OKLaboklab(45.15% 0.0036 -0.1245)
OKLCHoklch(45.15% 0.125 271.6)
XYZxyz(10.5418, 8.8052, 31.7096)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4E9A #9A8A3E
analogous
#3E7C9A #3E4E9A #5C3E9A
triadic
#3E4E9A #9A3E4E #4E9A3E
tetradic
#3E4E9A #9A3E7C #9A8A3E #3E9A5C
square
#3E4E9A #9A3E7C #9A8A3E #3E9A5C
split-complementary
#3E4E9A #9A5C3E #7C9A3E
monochromatic
#1B2243 #2C386E #3E4E9A #596ABC #8591CE

Accessibility & contrast

On white

7.61
#3E4E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3E4E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4E9A
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4E9A#FFFFFF#000000##FFFFFF
##3E4E9A1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28589D
Deuteranopia (green-blind)
#195098
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3e4e9a;
/* rgb */ color: rgb(62, 78, 154);
/* oklch */ color: oklch(45.2% 0.125 271.6);
Tailwind
colors: {
  custom: {
    50: '#7c7fb8',
    500: '#3e4e9a',
    950: '#000000',
  },
}
SCSS
$custom: #3e4e9a;
$custom-light: #7c7fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4e9a",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 154
  },
  "hsl": {
    "h": 229.565,
    "s": 42.593,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45153,
    "c": 0.12459,
    "h": 271.6
  },
  "luminance": 0.08806
}

Semantic roles & 50–950 ramp

primary
#3E4E9A
secondary
#B8AE7C
accent
#BD55D2
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3E4E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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