#1C3E8A#1C3E8A

#1C3E8A is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.7% C 0.133 H 263.3°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#1C3E8A
RGBrgb(28, 62, 138)
HSLhsl(221, 66%, 33%)
HSVhsv(221, 80%, 54%)
CMYKcmyk(79.7%, 55.1%, 0%, 45.9%)
CIE-LABlab(28.18, 16.99, -45.88)
CIE-LCHlch(28.18, 48.92, 290.32°)
OKLaboklab(38.69% -0.0154 -0.1322)
OKLCHoklch(38.69% 0.133 263.3)
XYZxyz(6.7873, 5.5263, 24.7488)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3E8A #8A681C
analogous
#1C758A #1C3E8A #311C8A
triadic
#1C3E8A #8A1C3E #3E8A1C
tetradic
#1C3E8A #8A1C75 #8A681C #1C8A31
square
#1C3E8A #8A1C75 #8A681C #1C8A31
split-complementary
#1C3E8A #8A311C #758A1C
monochromatic
#071024 #122757 #1C3E8A #2655BD #4774DA

Accessibility & contrast

On white

9.97
#1C3E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1C3E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3E8A
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3E8A#FFFFFF#000000##FFFFFF
##1C3E8A1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01488D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1c3e8a;
/* rgb */ color: rgb(28, 62, 138);
/* oklch */ color: oklch(38.7% 0.133 263.3);
Tailwind
colors: {
  custom: {
    50: '#6a72ad',
    500: '#1c3e8a',
    950: '#000000',
  },
}
SCSS
$custom: #1c3e8a;
$custom-light: #6a72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3e8a",
  "rgb": {
    "r": 28,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 221.455,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.38688,
    "c": 0.13313,
    "h": 263.3
  },
  "luminance": 0.05527
}

Semantic roles & 50–950 ramp

primary
#1C3E8A
secondary
#BB9746
accent
#B43FE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1C3E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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