#3E4E9B#3E4E9B

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

Color values

HEX#3E4E9B
RGBrgb(62, 78, 155)
HSLhsl(230, 43%, 43%)
HSVhsv(230, 60%, 61%)
CMYKcmyk(60%, 49.7%, 0%, 39.2%)
CIE-LABlab(35.67, 18.14, -44.09)
CIE-LCHlch(35.67, 47.68, 292.37°)
OKLaboklab(45.22% 0.0037 -0.126)
OKLCHoklch(45.22% 0.126 271.7)
XYZxyz(10.6254, 8.8386, 32.1501)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4E9B #9B8B3E
analogous
#3E7D9B #3E4E9B #5C3E9B
triadic
#3E4E9B #9B3E4E #4E9B3E
tetradic
#3E4E9B #9B3E7D #9B8B3E #3E9B5C
square
#3E4E9B #9B3E7D #9B8B3E #3E9B5C
split-complementary
#3E4E9B #9B5C3E #7D9B3E
monochromatic
#1B2244 #2D386F #3E4E9B #596BBD #8592CE

Accessibility & contrast

On white

7.59
#3E4E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3E4E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4E9B
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4E9B#FFFFFF#000000##FFFFFF
##3E4E9B1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27589E
Deuteranopia (green-blind)
#175099
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3e4e9b;
/* rgb */ color: rgb(62, 78, 155);
/* oklch */ color: oklch(45.2% 0.126 271.7);
Tailwind
colors: {
  custom: {
    50: '#7c7fb9',
    500: '#3e4e9b',
    950: '#000000',
  },
}
SCSS
$custom: #3e4e9b;
$custom-light: #7c7fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4e9b",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 155
  },
  "hsl": {
    "h": 229.677,
    "s": 42.857,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45224,
    "c": 0.12606,
    "h": 271.7
  },
  "luminance": 0.08839
}

Semantic roles & 50–950 ramp

primary
#3E4E9B
secondary
#B9AE7C
accent
#BD55D3
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3E4E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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