#3D538F#3D538F

#3D538F is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.4% C 0.102 H 267.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#3D538F
RGBrgb(61, 83, 143)
HSLhsl(224, 40%, 40%)
HSVhsv(224, 57%, 56%)
CMYKcmyk(57.3%, 42%, 0%, 43.9%)
CIE-LABlab(36.29, 10.44, -35.84)
CIE-LCHlch(36.29, 37.33, 286.24°)
OKLaboklab(45.44% -0.0051 -0.1017)
OKLCHoklch(45.44% 0.102 267.1)
XYZxyz(9.9740, 9.1610, 27.2239)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D538F #8F793D
analogous
#3D7C8F #3D538F #503D8F
triadic
#3D538F #8F3D53 #538F3D
tetradic
#3D538F #8F3D7C #8F793D #3D8F50
square
#3D538F #8F3D7C #8F793D #3D8F50
split-complementary
#3D538F #8F503D #7C8F3D
monochromatic
#182139 #2B3A64 #3D538F #536EB6 #7E92C8

Accessibility & contrast

On white

7.41
#3D538F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3D538F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D538F
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D538F#FFFFFF#000000##FFFFFF
##3D538F1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5991
Deuteranopia (green-blind)
#2F528E
Tritanopia (blue-blind)
#09606A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3d538f;
/* rgb */ color: rgb(61, 83, 143);
/* oklch */ color: oklch(45.4% 0.102 267.1);
Tailwind
colors: {
  custom: {
    50: '#7983b0',
    500: '#3d538f',
    950: '#000000',
  },
}
SCSS
$custom: #3d538f;
$custom-light: #7983b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d538f",
  "rgb": {
    "r": 61,
    "g": 83,
    "b": 143
  },
  "hsl": {
    "h": 223.902,
    "s": 40.196,
    "l": 40
  },
  "oklch": {
    "l": 0.45443,
    "c": 0.10188,
    "h": 267.1
  },
  "luminance": 0.09162
}

Semantic roles & 50–950 ramp

primary
#3D538F
secondary
#B2A276
accent
#B058D0
background
#F7F7FA
surface
#EEEEF5
border
#C9C9CF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3D538F

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

Preview Lab → · Contrast checker → · Palette generator →

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