#3D5191#3D5191

#3D5191 is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.1% C 0.108 H 268.8°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#3D5191
RGBrgb(61, 81, 145)
HSLhsl(226, 41%, 40%)
HSVhsv(226, 58%, 57%)
CMYKcmyk(57.9%, 44.1%, 0%, 43.1%)
CIE-LABlab(35.83, 12.45, -37.79)
CIE-LCHlch(35.83, 39.78, 288.23°)
OKLaboklab(45.13% -0.0023 -0.1075)
OKLCHoklch(45.13% 0.108 268.8)
XYZxyz(9.9760, 8.9205, 27.9787)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5191 #917D3D
analogous
#3D7B91 #3D5191 #533D91
triadic
#3D5191 #913D51 #51913D
tetradic
#3D5191 #913D7B #917D3D #3D9153
square
#3D5191 #913D7B #917D3D #3D9153
split-complementary
#3D5191 #91533D #7B913D
monochromatic
#19213B #2B3966 #3D5191 #546CB7 #7F91C9

Accessibility & contrast

On white

7.54
#3D5191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3D5191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D5191
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5191#FFFFFF#000000##FFFFFF
##3D51911.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355893
Deuteranopia (green-blind)
#2A5190
Tritanopia (blue-blind)
#055F6A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3d5191;
/* rgb */ color: rgb(61, 81, 145);
/* oklch */ color: oklch(45.1% 0.108 268.8);
Tailwind
colors: {
  custom: {
    50: '#7981b1',
    500: '#3d5191',
    950: '#000000',
  },
}
SCSS
$custom: #3d5191;
$custom-light: #7981b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5191",
  "rgb": {
    "r": 61,
    "g": 81,
    "b": 145
  },
  "hsl": {
    "h": 225.714,
    "s": 40.777,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45126,
    "c": 0.10751,
    "h": 268.8
  },
  "luminance": 0.08921
}

Semantic roles & 50–950 ramp

primary
#3D5191
secondary
#B3A577
accent
#B457D1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3D5191

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

Preview Lab → · Contrast checker → · Palette generator →

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