#3C4E98#3C4E98

#3C4E98 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.9% C 0.122 H 270.5°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#3C4E98
RGBrgb(60, 78, 152)
HSLhsl(228, 43%, 42%)
HSVhsv(228, 61%, 60%)
CMYKcmyk(60.5%, 48.7%, 0%, 40.4%)
CIE-LABlab(35.35, 16.68, -42.80)
CIE-LCHlch(35.35, 45.93, 291.29°)
OKLaboklab(44.89% 0.0011 -0.1223)
OKLCHoklch(44.89% 0.122 270.5)
XYZxyz(10.2535, 8.6756, 30.8339)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C4E98 #98863C
analogous
#3C7C98 #3C4E98 #583C98
triadic
#3C4E98 #983C4E #4E983C
tetradic
#3C4E98 #983C7C #98863C #3C9858
square
#3C4E98 #983C7C #98863C #3C9858
split-complementary
#3C4E98 #98583C #7C983C
monochromatic
#192140 #2B376C #3C4E98 #5569BC #8190CD

Accessibility & contrast

On white

7.68
#3C4E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C4E98
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C4E98#FFFFFF#000000##FFFFFF
##3C4E981.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A579B
Deuteranopia (green-blind)
#1A4F96
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3c4e98;
/* rgb */ color: rgb(60, 78, 152);
/* oklch */ color: oklch(44.9% 0.122 270.5);
Tailwind
colors: {
  custom: {
    50: '#7a7fb7',
    500: '#3c4e98',
    950: '#000000',
  },
}
SCSS
$custom: #3c4e98;
$custom-light: #7a7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#3c4e98",
  "rgb": {
    "r": 60,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 228.261,
    "s": 43.396,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44885,
    "c": 0.12227,
    "h": 270.5
  },
  "luminance": 0.08676
}

Semantic roles & 50–950 ramp

primary
#3C4E98
secondary
#B7AB79
accent
#BA55D3
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3C4E98

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

Preview Lab → · Contrast checker → · Palette generator →

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