#3D4D9F#3D4D9F

#3D4D9F is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.2% C 0.134 H 271.8°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#3D4D9F
RGBrgb(61, 77, 159)
HSLhsl(230, 45%, 43%)
HSVhsv(230, 62%, 62%)
CMYKcmyk(61.6%, 51.6%, 0%, 37.6%)
CIE-LABlab(35.60, 20.02, -46.62)
CIE-LCHlch(35.60, 50.73, 293.24°)
OKLaboklab(45.24% 0.0041 -0.1335)
OKLCHoklch(45.24% 0.134 271.8)
XYZxyz(10.8343, 8.8022, 33.9222)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4D9F #9F8F3D
analogous
#3D7E9F #3D4D9F #5E3D9F
triadic
#3D4D9F #9F3D4D #4D9F3D
tetradic
#3D4D9F #9F3D7E #9F8F3D #3D9F5E
square
#3D4D9F #9F3D7E #9F8F3D #3D9F5E
split-complementary
#3D4D9F #9F5E3D #7E9F3D
monochromatic
#1B2247 #2C3873 #3D4D9F #5A6AC0 #8692D1

Accessibility & contrast

On white

7.61
#3D4D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3D4D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4D9F
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4D9F#FFFFFF#000000##FFFFFF
##3D4D9F1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2058A2
Deuteranopia (green-blind)
#07509D
Tritanopia (blue-blind)
#00606E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3d4d9f;
/* rgb */ color: rgb(61, 77, 159);
/* oklch */ color: oklch(45.2% 0.134 271.8);
Tailwind
colors: {
  custom: {
    50: '#7c7ebc',
    500: '#3d4d9f',
    950: '#000000',
  },
}
SCSS
$custom: #3d4d9f;
$custom-light: #7c7ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4d9f",
  "rgb": {
    "r": 61,
    "g": 77,
    "b": 159
  },
  "hsl": {
    "h": 230.204,
    "s": 44.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45239,
    "c": 0.13354,
    "h": 271.8
  },
  "luminance": 0.08803
}

Semantic roles & 50–950 ramp

primary
#3D4D9F
secondary
#BBB17D
accent
#BF54D4
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3D4D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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