#3D5EA8#3D5EA8

#3D5EA8 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.5% C 0.124 H 264.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#3D5EA8
RGBrgb(61, 94, 168)
HSLhsl(221, 47%, 45%)
HSVhsv(221, 64%, 66%)
CMYKcmyk(63.7%, 44%, 0%, 34.1%)
CIE-LABlab(40.93, 12.16, -43.43)
CIE-LCHlch(40.93, 45.10, 285.64°)
OKLaboklab(49.49% -0.0124 -0.1239)
OKLCHoklch(49.49% 0.125 264.3)
XYZxyz(12.9926, 11.8235, 38.6357)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5EA8 #A8873D
analogous
#3D94A8 #3D5EA8 #513DA8
triadic
#3D5EA8 #A83D5E #5EA83D
tetradic
#3D5EA8 #A83D94 #A8873D #3DA851
square
#3D5EA8 #A83D94 #A8873D #3DA851
split-complementary
#3D5EA8 #A8513D #94A83D
monochromatic
#1C2C4E #2D457B #3D5EA8 #5E7DC4 #8BA2D5

Accessibility & contrast

On white

6.24
#3D5EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3D5EA8
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5EA8#FFFFFF#000000##FFFFFF
##3D5EA81.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C66AB
Deuteranopia (green-blind)
#2B5CA6
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3d5ea8;
/* rgb */ color: rgb(61, 94, 168);
/* oklch */ color: oklch(49.5% 0.124 264.3);
Tailwind
colors: {
  custom: {
    50: '#7d8bc2',
    500: '#3d5ea8',
    950: '#000000',
  },
}
SCSS
$custom: #3d5ea8;
$custom-light: #7d8bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5ea8",
  "rgb": {
    "r": 61,
    "g": 94,
    "b": 168
  },
  "hsl": {
    "h": 221.495,
    "s": 46.725,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49492,
    "c": 0.1245,
    "h": 264.3
  },
  "luminance": 0.11825
}

Semantic roles & 50–950 ramp

primary
#3D5EA8
secondary
#BFAC81
accent
#AD51D6
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #3D5EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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