#1C3C8A#1C3C8A

#1C3C8A is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.3% C 0.136 H 264.1°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#1C3C8A
RGBrgb(28, 60, 138)
HSLhsl(223, 66%, 33%)
HSVhsv(223, 80%, 54%)
CMYKcmyk(79.7%, 56.5%, 0%, 45.9%)
CIE-LABlab(27.61, 18.38, -46.81)
CIE-LCHlch(27.61, 50.29, 291.44°)
OKLaboklab(38.25% -0.0139 -0.135)
OKLCHoklch(38.25% 0.136 264.1)
XYZxyz(6.6806, 5.3128, 24.7132)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3C8A #8A6A1C
analogous
#1C738A #1C3C8A #331C8A
triadic
#1C3C8A #8A1C3C #3C8A1C
tetradic
#1C3C8A #8A1C73 #8A6A1C #1C8A33
square
#1C3C8A #8A1C73 #8A6A1C #1C8A33
split-complementary
#1C3C8A #8A331C #738A1C
monochromatic
#071024 #122657 #1C3C8A #2652BD #4771DA

Accessibility & contrast

On white

10.18
#1C3C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#1C3C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3C8A
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3C8A#FFFFFF#000000##FFFFFF
##1C3C8A1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1c3c8a;
/* rgb */ color: rgb(28, 60, 138);
/* oklch */ color: oklch(38.3% 0.136 264.1);
Tailwind
colors: {
  custom: {
    50: '#6b71ad',
    500: '#1c3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #1c3c8a;
$custom-light: #6b71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3c8a",
  "rgb": {
    "r": 28,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 222.545,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38251,
    "c": 0.13573,
    "h": 264.1
  },
  "luminance": 0.05314
}

Semantic roles & 50–950 ramp

primary
#1C3C8A
secondary
#BB9946
accent
#B83FE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1C3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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