#1C3F8A#1C3F8A

#1C3F8A is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.132 H 262.9°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#1C3F8A
RGBrgb(28, 63, 138)
HSLhsl(221, 66%, 33%)
HSVhsv(221, 80%, 54%)
CMYKcmyk(79.7%, 54.3%, 0%, 45.9%)
CIE-LABlab(28.48, 16.29, -45.41)
CIE-LCHlch(28.48, 48.24, 289.74°)
OKLaboklab(38.91% -0.0162 -0.1308)
OKLCHoklch(38.91% 0.132 262.9)
XYZxyz(6.8422, 5.6361, 24.7671)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3F8A #8A671C
analogous
#1C768A #1C3F8A #301C8A
triadic
#1C3F8A #8A1C3F #3F8A1C
tetradic
#1C3F8A #8A1C76 #8A671C #1C8A30
square
#1C3F8A #8A1C76 #8A671C #1C8A30
split-complementary
#1C3F8A #8A301C #768A1C
monochromatic
#071124 #122857 #1C3F8A #2656BD #4776DA

Accessibility & contrast

On white

9.87
#1C3F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1C3F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3F8A
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3F8A#FFFFFF#000000##FFFFFF
##1C3F8A1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07488D
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1c3f8a;
/* rgb */ color: rgb(28, 63, 138);
/* oklch */ color: oklch(38.9% 0.132 262.9);
Tailwind
colors: {
  custom: {
    50: '#6a73ad',
    500: '#1c3f8a',
    950: '#000000',
  },
}
SCSS
$custom: #1c3f8a;
$custom-light: #6a73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3f8a",
  "rgb": {
    "r": 28,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 220.909,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38908,
    "c": 0.13183,
    "h": 262.9
  },
  "luminance": 0.05637
}

Semantic roles & 50–950 ramp

primary
#1C3F8A
secondary
#BB9646
accent
#B33FE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1C3F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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