#3C538C#3C538C

#3C538C is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.2% C 0.098 H 266.0°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#3C538C
RGBrgb(60, 83, 140)
HSLhsl(223, 40%, 39%)
HSVhsv(223, 57%, 55%)
CMYKcmyk(57.1%, 40.7%, 0%, 45.1%)
CIE-LABlab(36.06, 9.17, -34.38)
CIE-LCHlch(36.06, 35.58, 284.93°)
OKLaboklab(45.19% -0.0068 -0.0975)
OKLCHoklch(45.19% 0.098 266)
XYZxyz(9.6888, 9.0399, 26.0402)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C538C #8C753C
analogous
#3C7B8C #3C538C #4D3C8C
triadic
#3C538C #8C3C53 #538C3C
tetradic
#3C538C #8C3C7B #8C753C #3C8C4D
square
#3C538C #8C3C7B #8C753C #3C8C4D
split-complementary
#3C538C #8C4D3C #7B8C3C
monochromatic
#172036 #2A3A61 #3C538C #516DB4 #7C91C7

Accessibility & contrast

On white

7.48
#3C538C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#3C538C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C538C
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C538C#FFFFFF#000000##FFFFFF
##3C538C1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B598E
Deuteranopia (green-blind)
#31518B
Tritanopia (blue-blind)
#0B5F68
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3c538c;
/* rgb */ color: rgb(60, 83, 140);
/* oklch */ color: oklch(45.2% 0.098 266.0);
Tailwind
colors: {
  custom: {
    50: '#7883ae',
    500: '#3c538c',
    950: '#000000',
  },
}
SCSS
$custom: #3c538c;
$custom-light: #7883ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3c538c",
  "rgb": {
    "r": 60,
    "g": 83,
    "b": 140
  },
  "hsl": {
    "h": 222.75,
    "s": 40,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45193,
    "c": 0.09775,
    "h": 266
  },
  "luminance": 0.09041
}

Semantic roles & 50–950 ramp

primary
#3C538C
secondary
#B09F73
accent
#AD58D0
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3C538C

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

Preview Lab → · Contrast checker → · Palette generator →

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