#3D548E#3D548E

#3D548E is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.6% C 0.099 H 266.2°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#3D548E
RGBrgb(61, 84, 142)
HSLhsl(223, 40%, 40%)
HSVhsv(223, 57%, 56%)
CMYKcmyk(57%, 40.8%, 0%, 44.3%)
CIE-LABlab(36.53, 9.44, -34.86)
CIE-LCHlch(36.53, 36.11, 285.15°)
OKLaboklab(45.61% -0.0065 -0.0989)
OKLCHoklch(45.61% 0.099 266.2)
XYZxyz(9.9756, 9.2850, 26.8524)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D548E #8E773D
analogous
#3D7C8E #3D548E #4F3D8E
triadic
#3D548E #8E3D54 #548E3D
tetradic
#3D548E #8E3D7C #8E773D #3D8E4F
square
#3D548E #8E3D7C #8E773D #3D8E4F
split-complementary
#3D548E #8E4F3D #7C8E3D
monochromatic
#182138 #2B3B63 #3D548E #536FB5 #7E93C8

Accessibility & contrast

On white

7.35
#3D548E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3D548E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D548E
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D548E#FFFFFF#000000##FFFFFF
##3D548E1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5A90
Deuteranopia (green-blind)
#32538D
Tritanopia (blue-blind)
#0B616A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3d548e;
/* rgb */ color: rgb(61, 84, 142);
/* oklch */ color: oklch(45.6% 0.099 266.2);
Tailwind
colors: {
  custom: {
    50: '#7983af',
    500: '#3d548e',
    950: '#000000',
  },
}
SCSS
$custom: #3d548e;
$custom-light: #7983af;
$custom-dark: #000000;
JSON
{
  "hex": "#3d548e",
  "rgb": {
    "r": 61,
    "g": 84,
    "b": 142
  },
  "hsl": {
    "h": 222.963,
    "s": 39.901,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45605,
    "c": 0.09908,
    "h": 266.2
  },
  "luminance": 0.09286
}

Semantic roles & 50–950 ramp

primary
#3D548E
secondary
#B1A075
accent
#AE58D0
background
#F7F8FA
surface
#EEEFF4
border
#C9CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3D548E

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

Preview Lab → · Contrast checker → · Palette generator →

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