#3D498D#3D498D

#3D498D is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.1% C 0.112 H 273.3°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#3D498D
RGBrgb(61, 73, 141)
HSLhsl(231, 40%, 40%)
HSVhsv(231, 57%, 55%)
CMYKcmyk(56.7%, 48.2%, 0%, 44.7%)
CIE-LABlab(33.31, 16.32, -39.38)
CIE-LCHlch(33.31, 42.63, 292.51°)
OKLaboklab(43.12% 0.0064 -0.1122)
OKLCHoklch(43.12% 0.112 273.3)
XYZxyz(9.1132, 7.6796, 26.1962)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D498D #8D813D
analogous
#3D718D #3D498D #593D8D
triadic
#3D498D #8D3D49 #498D3D
tetradic
#3D498D #8D3D71 #8D813D #3D8D59
square
#3D498D #8D3D71 #8D813D #3D8D59
split-complementary
#3D498D #8D593D #718D3D
monochromatic
#181D38 #2B3362 #3D498D #5361B4 #7D88C7

Accessibility & contrast

On white

8.28
#3D498D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3D498D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D498D
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D498D#FFFFFF#000000##FFFFFF
##3D498D1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5290
Deuteranopia (green-blind)
#1F4B8C
Tritanopia (blue-blind)
#125864
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3d498d;
/* rgb */ color: rgb(61, 73, 141);
/* oklch */ color: oklch(43.1% 0.112 273.3);
Tailwind
colors: {
  custom: {
    50: '#797baf',
    500: '#3d498d',
    950: '#000000',
  },
}
SCSS
$custom: #3d498d;
$custom-light: #797baf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d498d",
  "rgb": {
    "r": 61,
    "g": 73,
    "b": 141
  },
  "hsl": {
    "h": 231,
    "s": 39.604,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43119,
    "c": 0.11243,
    "h": 273.3
  },
  "luminance": 0.0768
}

Semantic roles & 50–950 ramp

primary
#3D498D
secondary
#B1A875
accent
#BE58CF
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #3D498D

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

Preview Lab → · Contrast checker → · Palette generator →

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