#1C3E98#1C3E98

#1C3E98 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.153 H 264.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#1C3E98
RGBrgb(28, 62, 152)
HSLhsl(224, 69%, 35%)
HSVhsv(224, 82%, 60%)
CMYKcmyk(81.6%, 59.2%, 0%, 40.4%)
CIE-LABlab(29.31, 22.61, -52.65)
CIE-LCHlch(29.31, 57.30, 293.24°)
OKLaboklab(39.89% -0.0144 -0.1521)
OKLCHoklch(39.89% 0.153 264.6)
XYZxyz(7.8670, 5.9582, 30.4351)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3E98 #98761C
analogous
#1C7C98 #1C3E98 #381C98
triadic
#1C3E98 #981C3E #3E981C
tetradic
#1C3E98 #981C7C #98761C #1C9838
square
#1C3E98 #981C7C #98761C #1C9838
split-complementary
#1C3E98 #98381C #7C981C
monochromatic
#091431 #122964 #1C3E98 #2653CC #5077DF

Accessibility & contrast

On white

9.58
#1C3E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1C3E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3E98
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3E98#FFFFFF#000000##FFFFFF
##1C3E981.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#004096
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1c3e98;
/* rgb */ color: rgb(28, 62, 152);
/* oklch */ color: oklch(39.9% 0.153 264.6);
Tailwind
colors: {
  custom: {
    50: '#6e72b7',
    500: '#1c3e98',
    950: '#000000',
  },
}
SCSS
$custom: #1c3e98;
$custom-light: #6e72b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3e98",
  "rgb": {
    "r": 28,
    "g": 62,
    "b": 152
  },
  "hsl": {
    "h": 223.548,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.39886,
    "c": 0.15283,
    "h": 264.6
  },
  "luminance": 0.05959
}

Semantic roles & 50–950 ramp

primary
#1C3E98
secondary
#C1A24E
accent
#BC3CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1C3E98

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

Preview Lab → · Contrast checker → · Palette generator →

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