#3E4AC8#3E4AC8

#3E4AC8 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.0% C 0.193 H 272.5°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#3E4AC8
RGBrgb(62, 74, 200)
HSLhsl(235, 56%, 51%)
HSVhsv(235, 69%, 78%)
CMYKcmyk(69%, 63%, 0%, 21.6%)
CIE-LABlab(38.00, 36.56, -66.94)
CIE-LCHlch(38.00, 76.27, 298.65°)
OKLaboklab(48.02% 0.0085 -0.1932)
OKLCHoklch(48.02% 0.193 272.5)
XYZxyz(14.8572, 10.0904, 55.7970)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4AC8 #C8BC3E
analogous
#3E8FC8 #3E4AC8 #773EC8
triadic
#3E4AC8 #C83E4A #4AC83E
tetradic
#3E4AC8 #C83E8F #C8BC3E #3EC877
square
#3E4AC8 #C83E8F #C8BC3E #3EC877
split-complementary
#3E4AC8 #C8773E #8FC83E
monochromatic
#1F266D #2D369C #3E4AC8 #6E77D6 #9DA3E3

Accessibility & contrast

On white

6.96
#3E4AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#3E4AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E4AC8
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4AC8#FFFFFF#000000##FFFFFF
##3E4AC81.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0053C6
Tritanopia (blue-blind)
#006A82
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3e4ac8;
/* rgb */ color: rgb(62, 74, 200);
/* oklch */ color: oklch(48.0% 0.193 272.5);
Tailwind
colors: {
  custom: {
    50: '#857cda',
    500: '#3e4ac8',
    950: '#000000',
  },
}
SCSS
$custom: #3e4ac8;
$custom-light: #857cda;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4ac8",
  "rgb": {
    "r": 62,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 234.783,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48023,
    "c": 0.1934,
    "h": 272.5
  },
  "luminance": 0.10092
}

Semantic roles & 50–950 ramp

primary
#3E4AC8
secondary
#CFCA92
accent
#D249DF
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3E4AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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