#3D4E98#3D4E98

#3D4E98 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.9% C 0.122 H 271.0°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#3D4E98
RGBrgb(61, 78, 152)
HSLhsl(229, 43%, 42%)
HSVhsv(229, 60%, 60%)
CMYKcmyk(59.9%, 48.7%, 0%, 40.4%)
CIE-LABlab(35.41, 16.88, -42.70)
CIE-LCHlch(35.41, 45.91, 291.57°)
OKLaboklab(44.95% 0.0022 -0.1219)
OKLCHoklch(44.95% 0.122 271)
XYZxyz(10.3145, 8.7071, 30.8368)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D4E98 #98873D
analogous
#3D7C98 #3D4E98 #5A3D98
triadic
#3D4E98 #983D4E #4E983D
tetradic
#3D4E98 #983D7C #98873D #3D985A
square
#3D4E98 #983D7C #98873D #3D985A
split-complementary
#3D4E98 #985A3D #7C983D
monochromatic
#1A2141 #2B386C #3D4E98 #576ABB #8290CD

Accessibility & contrast

On white

7.66
#3D4E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3D4E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D4E98
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D4E98#FFFFFF#000000##FFFFFF
##3D4E981.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A579B
Deuteranopia (green-blind)
#1B4F96
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3d4e98;
/* rgb */ color: rgb(61, 78, 152);
/* oklch */ color: oklch(44.9% 0.122 271.0);
Tailwind
colors: {
  custom: {
    50: '#7b7fb7',
    500: '#3d4e98',
    950: '#000000',
  },
}
SCSS
$custom: #3d4e98;
$custom-light: #7b7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d4e98",
  "rgb": {
    "r": 61,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 228.791,
    "s": 42.723,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44949,
    "c": 0.12195,
    "h": 271
  },
  "luminance": 0.08708
}

Semantic roles & 50–950 ramp

primary
#3D4E98
secondary
#B7AC7A
accent
#BB55D3
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3D4E98

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

Preview Lab → · Contrast checker → · Palette generator →

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