#3C5FD9#3C5FD9

#3C5FD9 is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.2% C 0.191 H 267.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#3C5FD9
RGBrgb(60, 95, 217)
HSLhsl(227, 67%, 54%)
HSVhsv(227, 72%, 85%)
CMYKcmyk(72.4%, 56.2%, 0%, 14.9%)
CIE-LABlab(44.45, 29.07, -66.22)
CIE-LCHlch(44.45, 72.32, 293.70°)
OKLaboklab(53.2% -0.0089 -0.1909)
OKLCHoklch(53.2% 0.191 267.3)
XYZxyz(18.4757, 14.1529, 67.3903)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C5FD9 #D9B63C
analogous
#3CAED9 #3C5FD9 #683CD9
triadic
#3C5FD9 #D93C5F #5FD93C
tetradic
#3C5FD9 #D93CAE #D9B63C #3CD968
square
#3C5FD9 #D93CAE #D9B63C #3CD968
split-complementary
#3C5FD9 #D9683C #AED93C
monochromatic
#193081 #2344B5 #3C5FD9 #6F89E3 #A2B3ED

Accessibility & contrast

On white

5.48
#3C5FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#3C5FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3C5FD9
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C5FD9#FFFFFF#000000##FFFFFF
##3C5FD91.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#0062D7
Tritanopia (blue-blind)
#007D93
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #3c5fd9;
/* rgb */ color: rgb(60, 95, 217);
/* oklch */ color: oklch(53.2% 0.191 267.3);
Tailwind
colors: {
  custom: {
    50: '#868ce6',
    500: '#3c5fd9',
    950: '#000000',
  },
}
SCSS
$custom: #3c5fd9;
$custom-light: #868ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#3c5fd9",
  "rgb": {
    "r": 60,
    "g": 95,
    "b": 217
  },
  "hsl": {
    "h": 226.624,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.532,
    "c": 0.19111,
    "h": 267.3
  },
  "luminance": 0.14155
}

Semantic roles & 50–950 ramp

primary
#3C5FD9
secondary
#DACB97
accent
#C43EEA
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #3C5FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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