#3C508F#3C508F

#3C508F is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.7% C 0.106 H 268.6°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#3C508F
RGBrgb(60, 80, 143)
HSLhsl(226, 41%, 40%)
HSVhsv(226, 58%, 56%)
CMYKcmyk(58%, 44.1%, 0%, 43.9%)
CIE-LABlab(35.36, 12.18, -37.32)
CIE-LCHlch(35.36, 39.26, 288.07°)
OKLaboklab(44.71% -0.0026 -0.1061)
OKLCHoklch(44.71% 0.106 268.6)
XYZxyz(9.6884, 8.6804, 27.1462)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C508F #8F7B3C
analogous
#3C7A8F #3C508F #513C8F
triadic
#3C508F #8F3C50 #508F3C
tetradic
#3C508F #8F3C7A #8F7B3C #3C8F51
square
#3C508F #8F3C7A #8F7B3C #3C8F51
split-complementary
#3C508F #8F513C #7A8F3C
monochromatic
#182039 #2A3864 #3C508F #526AB6 #7D8FC8

Accessibility & contrast

On white

7.67
#3C508F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3C508F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C508F
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C508F#FFFFFF#000000##FFFFFF
##3C508F1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355791
Deuteranopia (green-blind)
#2A508E
Tritanopia (blue-blind)
#055E68
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3c508f;
/* rgb */ color: rgb(60, 80, 143);
/* oklch */ color: oklch(44.7% 0.106 268.6);
Tailwind
colors: {
  custom: {
    50: '#7980b0',
    500: '#3c508f',
    950: '#000000',
  },
}
SCSS
$custom: #3c508f;
$custom-light: #7980b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3c508f",
  "rgb": {
    "r": 60,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 225.542,
    "s": 40.887,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44711,
    "c": 0.10618,
    "h": 268.6
  },
  "luminance": 0.08681
}

Semantic roles & 50–950 ramp

primary
#3C508F
secondary
#B2A375
accent
#B357D1
background
#F7F7FA
surface
#EEEEF5
border
#C9C9CF
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3C508F

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

Preview Lab → · Contrast checker → · Palette generator →

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