#3D538E#3D538E

#3D538E is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.4% C 0.100 H 267.0°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#3D538E
RGBrgb(61, 83, 142)
HSLhsl(224, 40%, 40%)
HSVhsv(224, 57%, 56%)
CMYKcmyk(57%, 41.5%, 0%, 44.3%)
CIE-LABlab(36.24, 10.09, -35.32)
CIE-LCHlch(36.24, 36.73, 285.94°)
OKLaboklab(45.38% -0.0053 -0.1002)
OKLCHoklch(45.38% 0.1 267)
XYZxyz(9.8986, 9.1309, 26.8268)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D538E #8E783D
analogous
#3D7B8E #3D538E #503D8E
triadic
#3D538E #8E3D53 #538E3D
tetradic
#3D538E #8E3D7B #8E783D #3D8E50
square
#3D538E #8E3D7B #8E783D #3D8E50
split-complementary
#3D538E #8E503D #7B8E3D
monochromatic
#182138 #2B3A63 #3D538E #536EB5 #7E92C8

Accessibility & contrast

On white

7.43
#3D538E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D538E
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D538E#FFFFFF#000000##FFFFFF
##3D538E1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5990
Deuteranopia (green-blind)
#30528D
Tritanopia (blue-blind)
#0C6069
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3d538e;
/* rgb */ color: rgb(61, 83, 142);
/* oklch */ color: oklch(45.4% 0.100 267.0);
Tailwind
colors: {
  custom: {
    50: '#7983af',
    500: '#3d538e',
    950: '#000000',
  },
}
SCSS
$custom: #3d538e;
$custom-light: #7983af;
$custom-dark: #000000;
JSON
{
  "hex": "#3d538e",
  "rgb": {
    "r": 61,
    "g": 83,
    "b": 142
  },
  "hsl": {
    "h": 223.704,
    "s": 39.901,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4538,
    "c": 0.10037,
    "h": 267
  },
  "luminance": 0.09132
}

Semantic roles & 50–950 ramp

primary
#3D538E
secondary
#B1A175
accent
#AF58D0
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3D538E

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

Preview Lab → · Contrast checker → · Palette generator →

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