#1C3F8D#1C3F8D

#1C3F8D is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.2% C 0.136 H 263.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#1C3F8D
RGBrgb(28, 63, 141)
HSLhsl(221, 67%, 33%)
HSVhsv(221, 80%, 55%)
CMYKcmyk(80.1%, 55.3%, 0%, 44.7%)
CIE-LABlab(28.71, 17.51, -46.88)
CIE-LCHlch(28.71, 50.05, 290.48°)
OKLaboklab(39.16% -0.0159 -0.1352)
OKLCHoklch(39.16% 0.136 263.3)
XYZxyz(7.0624, 5.7242, 25.9268)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3F8D #8D6A1C
analogous
#1C778D #1C3F8D #311C8D
triadic
#1C3F8D #8D1C3F #3F8D1C
tetradic
#1C3F8D #8D1C77 #8D6A1C #1C8D31
square
#1C3F8D #8D1C77 #8D6A1C #1C8D31
split-complementary
#1C3F8D #8D311C #778D1C
monochromatic
#081127 #12285A #1C3F8D #2656C0 #4976DB

Accessibility & contrast

On white

9.79
#1C3F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#1C3F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3F8D
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3F8D#FFFFFF#000000##FFFFFF
##1C3F8D1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1c3f8d;
/* rgb */ color: rgb(28, 63, 141);
/* oklch */ color: oklch(39.2% 0.136 263.3);
Tailwind
colors: {
  custom: {
    50: '#6b73af',
    500: '#1c3f8d',
    950: '#000000',
  },
}
SCSS
$custom: #1c3f8d;
$custom-light: #6b73af;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3f8d",
  "rgb": {
    "r": 28,
    "g": 63,
    "b": 141
  },
  "hsl": {
    "h": 221.416,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39156,
    "c": 0.13611,
    "h": 263.3
  },
  "luminance": 0.05725
}

Semantic roles & 50–950 ramp

primary
#1C3F8D
secondary
#BD9948
accent
#B53EEA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1C3F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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