#3D4E9B#3D4E9B

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

Color values

HEX#3D4E9B
RGBrgb(61, 78, 155)
HSLhsl(229, 44%, 42%)
HSVhsv(229, 61%, 61%)
CMYKcmyk(60.6%, 49.7%, 0%, 39.2%)
CIE-LABlab(35.61, 17.94, -44.19)
CIE-LCHlch(35.61, 47.70, 292.09°)
OKLaboklab(45.16% 0.0026 -0.1263)
OKLCHoklch(45.16% 0.126 271.2)
XYZxyz(10.5633, 8.8066, 32.1472)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4E9B #9B8A3D
analogous
#3D7D9B #3D4E9B #5B3D9B
triadic
#3D4E9B #9B3D4E #4E9B3D
tetradic
#3D4E9B #9B3D7D #9B8A3D #3D9B5B
square
#3D4E9B #9B3D7D #9B8A3D #3D9B5B
split-complementary
#3D4E9B #9B5B3D #7D9B3D
monochromatic
#1A2243 #2C386F #3D4E9B #586ABD #8491CF

Accessibility & contrast

On white

7.60
#3D4E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D4E9B
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4E9B#FFFFFF#000000##FFFFFF
##3D4E9B1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27589E
Deuteranopia (green-blind)
#165099
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3d4e9b;
/* rgb */ color: rgb(61, 78, 155);
/* oklch */ color: oklch(45.2% 0.126 271.2);
Tailwind
colors: {
  custom: {
    50: '#7b7fb9',
    500: '#3d4e9b',
    950: '#000000',
  },
}
SCSS
$custom: #3d4e9b;
$custom-light: #7b7fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4e9b",
  "rgb": {
    "r": 61,
    "g": 78,
    "b": 155
  },
  "hsl": {
    "h": 229.149,
    "s": 43.519,
    "l": 42.353
  },
  "oklch": {
    "l": 0.4516,
    "c": 0.12637,
    "h": 271.2
  },
  "luminance": 0.08807
}

Semantic roles & 50–950 ramp

primary
#3D4E9B
secondary
#B9AE7B
accent
#BC55D3
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3D4E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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