#3E488F#3E488F

#3E488F is a dark, moderate blue. Relative luminance 0.076; OKLCH L 43.1% C 0.117 H 274.4°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#3E488F
RGBrgb(62, 72, 143)
HSLhsl(233, 40%, 40%)
HSVhsv(233, 57%, 56%)
CMYKcmyk(56.6%, 49.7%, 0%, 43.9%)
CIE-LABlab(33.22, 17.90, -40.73)
CIE-LCHlch(33.22, 44.49, 293.72°)
OKLaboklab(43.12% 0.009 -0.1162)
OKLCHoklch(43.12% 0.117 274.4)
XYZxyz(9.2603, 7.6414, 26.9682)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E488F #8F853E
analogous
#3E708F #3E488F #5D3E8F
triadic
#3E488F #8F3E48 #488F3E
tetradic
#3E488F #8F3E70 #8F853E #3E8F5D
square
#3E488F #8F3E70 #8F853E #3E8F5D
split-complementary
#3E488F #8F5D3E #708F3E
monochromatic
#191D3A #2B3364 #3E488F #5561B5 #8089C8

Accessibility & contrast

On white

8.31
#3E488F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3E488F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E488F
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E488F#FFFFFF#000000##FFFFFF
##3E488F1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265292
Deuteranopia (green-blind)
#1B4B8D
Tritanopia (blue-blind)
#135864
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3e488f;
/* rgb */ color: rgb(62, 72, 143);
/* oklch */ color: oklch(43.1% 0.117 274.4);
Tailwind
colors: {
  custom: {
    50: '#7a7ab0',
    500: '#3e488f',
    950: '#000000',
  },
}
SCSS
$custom: #3e488f;
$custom-light: #7a7ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e488f",
  "rgb": {
    "r": 62,
    "g": 72,
    "b": 143
  },
  "hsl": {
    "h": 232.593,
    "s": 39.512,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43117,
    "c": 0.11655,
    "h": 274.4
  },
  "luminance": 0.07642
}

Semantic roles & 50–950 ramp

primary
#3E488F
secondary
#B2AB77
accent
#C158CF
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #3E488F

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

Preview Lab → · Contrast checker → · Palette generator →

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