#3C538F#3C538F

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

Color values

HEX#3C538F
RGBrgb(60, 83, 143)
HSLhsl(223, 41%, 40%)
HSVhsv(223, 58%, 56%)
CMYKcmyk(58%, 42%, 0%, 43.9%)
CIE-LABlab(36.23, 10.22, -35.94)
CIE-LCHlch(36.23, 37.36, 285.87°)
OKLaboklab(45.38% -0.0061 -0.1021)
OKLCHoklch(45.38% 0.102 266.6)
XYZxyz(9.9130, 9.1296, 27.2211)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C538F #8F783C
analogous
#3C7D8F #3C538F #4E3C8F
triadic
#3C538F #8F3C53 #538F3C
tetradic
#3C538F #8F3C7D #8F783C #3C8F4E
square
#3C538F #8F3C7D #8F783C #3C8F4E
split-complementary
#3C538F #8F4E3C #7D8F3C
monochromatic
#182139 #2A3A64 #3C538F #526EB6 #7D92C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C538F#FFFFFF#000000##FFFFFF
##3C538F1.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)
#3A5991
Deuteranopia (green-blind)
#2F528E
Tritanopia (blue-blind)
#03606A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3c538f;
/* rgb */ color: rgb(60, 83, 143);
/* oklch */ color: oklch(45.4% 0.102 266.6);
Tailwind
colors: {
  custom: {
    50: '#7983b0',
    500: '#3c538f',
    950: '#000000',
  },
}
SCSS
$custom: #3c538f;
$custom-light: #7983b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3c538f",
  "rgb": {
    "r": 60,
    "g": 83,
    "b": 143
  },
  "hsl": {
    "h": 223.373,
    "s": 40.887,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45381,
    "c": 0.10224,
    "h": 266.6
  },
  "luminance": 0.0913
}

Semantic roles & 50–950 ramp

primary
#3C538F
secondary
#B2A175
accent
#AF57D1
background
#F7F7FA
surface
#EEEEF5
border
#C9C9CF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3C538F

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

Preview Lab → · Contrast checker → · Palette generator →

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