#1C3C98#1C3C98

#1C3C98 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.155 H 265.1°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#1C3C98
RGBrgb(28, 60, 152)
HSLhsl(225, 69%, 35%)
HSVhsv(225, 82%, 60%)
CMYKcmyk(81.6%, 60.5%, 0%, 40.4%)
CIE-LABlab(28.76, 23.98, -53.55)
CIE-LCHlch(28.76, 58.67, 294.13°)
OKLaboklab(39.48% -0.0131 -0.1548)
OKLCHoklch(39.48% 0.155 265.1)
XYZxyz(7.7602, 5.7447, 30.3995)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3C98 #98781C
analogous
#1C7A98 #1C3C98 #3A1C98
triadic
#1C3C98 #981C3C #3C981C
tetradic
#1C3C98 #981C7A #98781C #1C983A
square
#1C3C98 #981C7A #98781C #1C983A
split-complementary
#1C3C98 #983A1C #7A981C
monochromatic
#091331 #122864 #1C3C98 #2650CC #5075DF

Accessibility & contrast

On white

9.77
#1C3C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1C3C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3C98
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3C98#FFFFFF#000000##FFFFFF
##1C3C981.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#003E96
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1c3c98;
/* rgb */ color: rgb(28, 60, 152);
/* oklch */ color: oklch(39.5% 0.155 265.1);
Tailwind
colors: {
  custom: {
    50: '#6e71b7',
    500: '#1c3c98',
    950: '#000000',
  },
}
SCSS
$custom: #1c3c98;
$custom-light: #6e71b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3c98",
  "rgb": {
    "r": 28,
    "g": 60,
    "b": 152
  },
  "hsl": {
    "h": 224.516,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39476,
    "c": 0.15536,
    "h": 265.1
  },
  "luminance": 0.05746
}

Semantic roles & 50–950 ramp

primary
#1C3C98
secondary
#C1A44E
accent
#BE3CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1C3C98

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

Preview Lab → · Contrast checker → · Palette generator →

#1C3C98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva