#3D5EA9#3D5EA9

#3D5EA9 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.6% C 0.126 H 264.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#3D5EA9
RGBrgb(61, 94, 169)
HSLhsl(222, 47%, 45%)
HSVhsv(222, 64%, 66%)
CMYKcmyk(63.9%, 44.4%, 0%, 33.7%)
CIE-LABlab(40.99, 12.52, -43.93)
CIE-LCHlch(40.99, 45.67, 285.91°)
OKLaboklab(49.56% -0.0123 -0.1253)
OKLCHoklch(49.56% 0.126 264.4)
XYZxyz(13.0861, 11.8609, 39.1282)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5EA9 #A9883D
analogous
#3D94A9 #3D5EA9 #523DA9
triadic
#3D5EA9 #A93D5E #5EA93D
tetradic
#3D5EA9 #A93D94 #A9883D #3DA952
square
#3D5EA9 #A93D94 #A9883D #3DA952
split-complementary
#3D5EA9 #A9523D #94A93D
monochromatic
#1D2C4F #2D457C #3D5EA9 #5E7EC5 #8BA2D5

Accessibility & contrast

On white

6.23
#3D5EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3D5EA9
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5EA9#FFFFFF#000000##FFFFFF
##3D5EA91.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B66AC
Deuteranopia (green-blind)
#2A5CA7
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3d5ea9;
/* rgb */ color: rgb(61, 94, 169);
/* oklch */ color: oklch(49.6% 0.126 264.4);
Tailwind
colors: {
  custom: {
    50: '#7d8bc3',
    500: '#3d5ea9',
    950: '#000000',
  },
}
SCSS
$custom: #3d5ea9;
$custom-light: #7d8bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5ea9",
  "rgb": {
    "r": 61,
    "g": 94,
    "b": 169
  },
  "hsl": {
    "h": 221.667,
    "s": 46.957,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49558,
    "c": 0.12594,
    "h": 264.4
  },
  "luminance": 0.11862
}

Semantic roles & 50–950 ramp

primary
#3D5EA9
secondary
#C0AD82
accent
#AE51D7
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0B12
muted
#7C7C81

Preview Lab

Preview with #3D5EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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