#3C509D#3C509D

#3C509D is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.127 H 269.8°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#3C509D
RGBrgb(60, 80, 157)
HSLhsl(228, 45%, 43%)
HSVhsv(228, 62%, 62%)
CMYKcmyk(61.8%, 49%, 0%, 38.4%)
CIE-LABlab(36.24, 17.14, -44.40)
CIE-LCHlch(36.24, 47.59, 291.11°)
OKLaboklab(45.66% -0.0004 -0.1269)
OKLCHoklch(45.66% 0.127 269.8)
XYZxyz(10.8159, 9.1314, 33.0843)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C509D #9D893C
analogous
#3C809D #3C509D #593C9D
triadic
#3C509D #9D3C50 #509D3C
tetradic
#3C509D #9D3C80 #9D893C #3C9D59
square
#3C509D #9D3C80 #9D893C #3C9D59
split-complementary
#3C509D #9D593C #809D3C
monochromatic
#1A2344 #2B3971 #3C509D #576DBF #8493D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3C509D#FFFFFF#000000##FFFFFF
##3C509D1.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)
#295AA0
Deuteranopia (green-blind)
#17519B
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3c509d;
/* rgb */ color: rgb(60, 80, 157);
/* oklch */ color: oklch(45.7% 0.127 269.8);
Tailwind
colors: {
  custom: {
    50: '#7b80ba',
    500: '#3c509d',
    950: '#000000',
  },
}
SCSS
$custom: #3c509d;
$custom-light: #7b80ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3c509d",
  "rgb": {
    "r": 60,
    "g": 80,
    "b": 157
  },
  "hsl": {
    "h": 227.629,
    "s": 44.7,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45662,
    "c": 0.12693,
    "h": 269.8
  },
  "luminance": 0.09132
}

Semantic roles & 50–950 ramp

primary
#3C509D
secondary
#BAAD7B
accent
#BA53D4
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3C509D

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

Preview Lab → · Contrast checker → · Palette generator →

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