#3E458C#3E458C

#3E458C is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.3% C 0.116 H 276.0°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#3E458C
RGBrgb(62, 69, 140)
HSLhsl(235, 39%, 40%)
HSVhsv(235, 56%, 55%)
CMYKcmyk(55.7%, 50.7%, 0%, 45.1%)
CIE-LABlab(32.20, 18.85, -40.54)
CIE-LCHlch(32.20, 44.71, 294.93°)
OKLaboklab(42.28% 0.0122 -0.1157)
OKLCHoklch(42.28% 0.116 276)
XYZxyz(8.8468, 7.1732, 25.7242)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E458C #8C853E
analogous
#3E6C8C #3E458C #5E3E8C
triadic
#3E458C #8C3E45 #458C3E
tetradic
#3E458C #8C3E6C #8C853E #3E8C5E
square
#3E458C #8C3E6C #8C853E #3E8C5E
split-complementary
#3E458C #8C5E3E #6C8C3E
monochromatic
#181B37 #2B3062 #3E458C #545DB3 #7E85C6

Accessibility & contrast

On white

8.62
#3E458C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3E458C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E458C
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E458C#FFFFFF#000000##FFFFFF
##3E458C1.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224F8F
Deuteranopia (green-blind)
#18498A
Tritanopia (blue-blind)
#185562
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3e458c;
/* rgb */ color: rgb(62, 69, 140);
/* oklch */ color: oklch(42.3% 0.116 276.0);
Tailwind
colors: {
  custom: {
    50: '#7a78ae',
    500: '#3e458c',
    950: '#000000',
  },
}
SCSS
$custom: #3e458c;
$custom-light: #7a78ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3e458c",
  "rgb": {
    "r": 62,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 234.615,
    "s": 38.614,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42277,
    "c": 0.11631,
    "h": 276
  },
  "luminance": 0.07174
}

Semantic roles & 50–950 ramp

primary
#3E458C
secondary
#B0AB76
accent
#C459CF
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #3E458C

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

Preview Lab → · Contrast checker → · Palette generator →

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