#1C3D8A#1C3D8A

#1C3D8A is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.5% C 0.134 H 263.7°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#1C3D8A
RGBrgb(28, 61, 138)
HSLhsl(222, 66%, 33%)
HSVhsv(222, 80%, 54%)
CMYKcmyk(79.7%, 55.8%, 0%, 45.9%)
CIE-LABlab(27.90, 17.68, -46.35)
CIE-LCHlch(27.90, 49.60, 290.88°)
OKLaboklab(38.47% -0.0147 -0.1336)
OKLCHoklch(38.47% 0.134 263.7)
XYZxyz(6.7334, 5.4186, 24.7308)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3D8A #8A691C
analogous
#1C748A #1C3D8A #321C8A
triadic
#1C3D8A #8A1C3D #3D8A1C
tetradic
#1C3D8A #8A1C74 #8A691C #1C8A32
square
#1C3D8A #8A1C74 #8A691C #1C8A32
split-complementary
#1C3D8A #8A321C #748A1C
monochromatic
#071024 #122757 #1C3D8A #2653BD #4773DA

Accessibility & contrast

On white

10.08
#1C3D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1C3D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3D8A
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3D8A#FFFFFF#000000##FFFFFF
##1C3D8A1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1c3d8a;
/* rgb */ color: rgb(28, 61, 138);
/* oklch */ color: oklch(38.5% 0.134 263.7);
Tailwind
colors: {
  custom: {
    50: '#6b71ad',
    500: '#1c3d8a',
    950: '#000000',
  },
}
SCSS
$custom: #1c3d8a;
$custom-light: #6b71ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3d8a",
  "rgb": {
    "r": 28,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 222,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38469,
    "c": 0.13443,
    "h": 263.7
  },
  "luminance": 0.05419
}

Semantic roles & 50–950 ramp

primary
#1C3D8A
secondary
#BB9846
accent
#B63FE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1C3D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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