#3E4199#3E4199

#3E4199 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.5% C 0.141 H 277.1°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#3E4199
RGBrgb(62, 65, 153)
HSLhsl(238, 42%, 42%)
HSVhsv(238, 59%, 60%)
CMYKcmyk(59.5%, 57.5%, 0%, 40%)
CIE-LABlab(32.04, 25.97, -48.73)
CIE-LCHlch(32.04, 55.22, 298.06°)
OKLaboklab(42.45% 0.0174 -0.1398)
OKLCHoklch(42.45% 0.141 277.1)
XYZxyz(9.6248, 7.1039, 30.9948)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4199 #99963E
analogous
#3E6F99 #3E4199 #693E99
triadic
#3E4199 #993E41 #41993E
tetradic
#3E4199 #993E6F #99963E #3E9969
square
#3E4199 #993E6F #99963E #3E9969
split-complementary
#3E4199 #99693E #6F993E
monochromatic
#1B1C42 #2C2E6D #3E4199 #595CBC #8487CD

Accessibility & contrast

On white

8.67
#3E4199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3E4199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4199
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4199#FFFFFF#000000##FFFFFF
##3E41991.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004897
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3e4199;
/* rgb */ color: rgb(62, 65, 153);
/* oklch */ color: oklch(42.5% 0.141 277.1);
Tailwind
colors: {
  custom: {
    50: '#7c75b8',
    500: '#3e4199',
    950: '#000000',
  },
}
SCSS
$custom: #3e4199;
$custom-light: #7c75b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4199",
  "rgb": {
    "r": 62,
    "g": 65,
    "b": 153
  },
  "hsl": {
    "h": 238.022,
    "s": 42.326,
    "l": 42.157
  },
  "oklch": {
    "l": 0.42451,
    "c": 0.14089,
    "h": 277.1
  },
  "luminance": 0.07105
}

Semantic roles & 50–950 ramp

primary
#3E4199
secondary
#B8B67B
accent
#CE56D2
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3E4199

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

Preview Lab → · Contrast checker → · Palette generator →

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