#1C3C8B#1C3C8B

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

Color values

HEX#1C3C8B
RGBrgb(28, 60, 139)
HSLhsl(223, 66%, 33%)
HSVhsv(223, 80%, 55%)
CMYKcmyk(79.9%, 56.8%, 0%, 45.5%)
CIE-LABlab(27.69, 18.78, -47.30)
CIE-LCHlch(27.69, 50.90, 291.66°)
OKLaboklab(38.34% -0.0138 -0.1365)
OKLCHoklch(38.34% 0.137 264.2)
XYZxyz(6.7533, 5.3419, 25.0963)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3C8B #8B6B1C
analogous
#1C738B #1C3C8B #341C8B
triadic
#1C3C8B #8B1C3C #3C8B1C
tetradic
#1C3C8B #8B1C73 #8B6B1C #1C8B34
square
#1C3C8B #8B1C73 #8B6B1C #1C8B34
split-complementary
#1C3C8B #8B341C #738B1C
monochromatic
#071025 #122658 #1C3C8B #2652BE #4772DA

Accessibility & contrast

On white

10.15
#1C3C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#1C3C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3C8B
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3C8B#FFFFFF#000000##FFFFFF
##1C3C8B1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1c3c8b;
/* rgb */ color: rgb(28, 60, 139);
/* oklch */ color: oklch(38.3% 0.137 264.2);
Tailwind
colors: {
  custom: {
    50: '#6b71ae',
    500: '#1c3c8b',
    950: '#000000',
  },
}
SCSS
$custom: #1c3c8b;
$custom-light: #6b71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3c8b",
  "rgb": {
    "r": 28,
    "g": 60,
    "b": 139
  },
  "hsl": {
    "h": 222.703,
    "s": 66.467,
    "l": 32.745
  },
  "oklch": {
    "l": 0.38336,
    "c": 0.13716,
    "h": 264.2
  },
  "luminance": 0.05343
}

Semantic roles & 50–950 ramp

primary
#1C3C8B
secondary
#BC9A47
accent
#B83EE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1C3C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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