#3D5097#3D5097

#3D5097 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.3% C 0.118 H 269.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#3D5097
RGBrgb(61, 80, 151)
HSLhsl(227, 42%, 42%)
HSVhsv(227, 60%, 59%)
CMYKcmyk(59.6%, 47%, 0%, 40.8%)
CIE-LABlab(35.91, 15.21, -41.29)
CIE-LCHlch(35.91, 44.00, 290.22°)
OKLaboklab(45.31% -0.0002 -0.1178)
OKLCHoklch(45.31% 0.118 269.9)
XYZxyz(10.3772, 8.9630, 30.4553)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5097 #97843D
analogous
#3D7D97 #3D5097 #573D97
triadic
#3D5097 #973D50 #50973D
tetradic
#3D5097 #973D7D #97843D #3D9757
square
#3D5097 #973D7D #97843D #3D9757
split-complementary
#3D5097 #97573D #7D973D
monochromatic
#1A2240 #2B396B #3D5097 #566CBB #8292CC

Accessibility & contrast

On white

7.52
#3D5097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3D5097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D5097
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5097#FFFFFF#000000##FFFFFF
##3D50971.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F599A
Deuteranopia (green-blind)
#225195
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3d5097;
/* rgb */ color: rgb(61, 80, 151);
/* oklch */ color: oklch(45.3% 0.118 269.9);
Tailwind
colors: {
  custom: {
    50: '#7a80b6',
    500: '#3d5097',
    950: '#000000',
  },
}
SCSS
$custom: #3d5097;
$custom-light: #7a80b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5097",
  "rgb": {
    "r": 61,
    "g": 80,
    "b": 151
  },
  "hsl": {
    "h": 227.333,
    "s": 42.453,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45308,
    "c": 0.11778,
    "h": 269.9
  },
  "luminance": 0.08964
}

Semantic roles & 50–950 ramp

primary
#3D5097
secondary
#B7AA79
accent
#B856D2
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3D5097

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

Preview Lab → · Contrast checker → · Palette generator →

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