#3D4E9C#3D4E9C

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

Color values

HEX#3D4E9C
RGBrgb(61, 78, 156)
HSLhsl(229, 44%, 43%)
HSVhsv(229, 61%, 61%)
CMYKcmyk(60.9%, 50%, 0%, 38.8%)
CIE-LABlab(35.67, 18.29, -44.69)
CIE-LCHlch(35.67, 48.29, 292.26°)
OKLaboklab(45.23% 0.0027 -0.1278)
OKLCHoklch(45.23% 0.128 271.2)
XYZxyz(10.6476, 8.8403, 32.5913)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4E9C #9C8B3D
analogous
#3D7E9C #3D4E9C #5B3D9C
triadic
#3D4E9C #9C3D4E #4E9C3D
tetradic
#3D4E9C #9C3D7E #9C8B3D #3D9C5B
square
#3D4E9C #9C3D7E #9C8B3D #3D9C5B
split-complementary
#3D4E9C #9C5B3D #7E9C3D
monochromatic
#1B2244 #2C3870 #3D4E9C #586BBE #8492CF

Accessibility & contrast

On white

7.59
#3D4E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3D4E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4E9C
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4E9C#FFFFFF#000000##FFFFFF
##3D4E9C1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26589F
Deuteranopia (green-blind)
#14509A
Tritanopia (blue-blind)
#00606D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3d4e9c;
/* rgb */ color: rgb(61, 78, 156);
/* oklch */ color: oklch(45.2% 0.128 271.2);
Tailwind
colors: {
  custom: {
    50: '#7b7fba',
    500: '#3d4e9c',
    950: '#000000',
  },
}
SCSS
$custom: #3d4e9c;
$custom-light: #7b7fba;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4e9c",
  "rgb": {
    "r": 61,
    "g": 78,
    "b": 156
  },
  "hsl": {
    "h": 229.263,
    "s": 43.779,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45231,
    "c": 0.12783,
    "h": 271.2
  },
  "luminance": 0.08841
}

Semantic roles & 50–950 ramp

primary
#3D4E9C
secondary
#B9AE7C
accent
#BD54D4
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3D4E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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