#3E5DAD#3E5DAD

#3E5DAD is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.7% C 0.133 H 265.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#3E5DAD
RGBrgb(62, 93, 173)
HSLhsl(223, 47%, 46%)
HSVhsv(223, 64%, 68%)
CMYKcmyk(64.2%, 46.2%, 0%, 32.2%)
CIE-LABlab(41.01, 14.78, -46.26)
CIE-LCHlch(41.01, 48.57, 287.72°)
OKLaboklab(49.66% -0.0096 -0.1322)
OKLCHoklch(49.66% 0.133 265.8)
XYZxyz(13.4412, 11.8687, 41.1096)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E5DAD #AD8E3E
analogous
#3E94AD #3E5DAD #563EAD
triadic
#3E5DAD #AD3E5D #5DAD3E
tetradic
#3E5DAD #AD3E94 #AD8E3E #3EAD56
square
#3E5DAD #AD3E94 #AD8E3E #3EAD56
split-complementary
#3E5DAD #AD563E #94AD3E
monochromatic
#1E2D53 #2E4580 #3E5DAD #627EC7 #8FA3D7

Accessibility & contrast

On white

6.22
#3E5DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#3E5DAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E5DAD
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E5DAD#FFFFFF#000000##FFFFFF
##3E5DAD1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3666B0
Deuteranopia (green-blind)
#235CAB
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3e5dad;
/* rgb */ color: rgb(62, 93, 173);
/* oklch */ color: oklch(49.7% 0.133 265.8);
Tailwind
colors: {
  custom: {
    50: '#7e8ac6',
    500: '#3e5dad',
    950: '#000000',
  },
}
SCSS
$custom: #3e5dad;
$custom-light: #7e8ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e5dad",
  "rgb": {
    "r": 62,
    "g": 93,
    "b": 173
  },
  "hsl": {
    "h": 223.243,
    "s": 47.234,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4966,
    "c": 0.13256,
    "h": 265.8
  },
  "luminance": 0.1187
}

Semantic roles & 50–950 ramp

primary
#3E5DAD
secondary
#C2B185
accent
#B151D7
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3E5DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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