#3E458F#3E458F

#3E458F is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.121 H 275.9°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#3E458F
RGBrgb(62, 69, 143)
HSLhsl(235, 40%, 40%)
HSVhsv(235, 57%, 56%)
CMYKcmyk(56.6%, 51.7%, 0%, 43.9%)
CIE-LABlab(32.40, 19.88, -42.06)
CIE-LCHlch(32.40, 46.52, 295.30°)
OKLaboklab(42.49% 0.0125 -0.1201)
OKLCHoklch(42.49% 0.121 275.9)
XYZxyz(9.0711, 7.2629, 26.9052)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E458F #8F883E
analogous
#3E6D8F #3E458F #603E8F
triadic
#3E458F #8F3E45 #458F3E
tetradic
#3E458F #8F3E6D #8F883E #3E8F60
square
#3E458F #8F3E6D #8F883E #3E8F60
split-complementary
#3E458F #8F603E #6D8F3E
monochromatic
#191C3A #2B3064 #3E458F #555DB5 #8086C8

Accessibility & contrast

On white

8.56
#3E458F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3E458F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E458F
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E458F#FFFFFF#000000##FFFFFF
##3E458F1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5092
Deuteranopia (green-blind)
#13498D
Tritanopia (blue-blind)
#145663
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3e458f;
/* rgb */ color: rgb(62, 69, 143);
/* oklch */ color: oklch(42.5% 0.121 275.9);
Tailwind
colors: {
  custom: {
    50: '#7a78b0',
    500: '#3e458f',
    950: '#000000',
  },
}
SCSS
$custom: #3e458f;
$custom-light: #7a78b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e458f",
  "rgb": {
    "r": 62,
    "g": 69,
    "b": 143
  },
  "hsl": {
    "h": 234.815,
    "s": 39.512,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42492,
    "c": 0.12077,
    "h": 275.9
  },
  "luminance": 0.07264
}

Semantic roles & 50–950 ramp

primary
#3E458F
secondary
#B2AD77
accent
#C558CF
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #3E458F

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

Preview Lab → · Contrast checker → · Palette generator →

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