#1C3899#1C3899

#1C3899 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.8% C 0.162 H 266.2°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#1C3899
RGBrgb(28, 56, 153)
HSLhsl(227, 69%, 35%)
HSVhsv(227, 82%, 60%)
CMYKcmyk(81.7%, 63.4%, 0%, 40%)
CIE-LABlab(27.78, 27.11, -55.76)
CIE-LCHlch(27.78, 62.00, 295.92°)
OKLaboklab(38.77% -0.0107 -0.1614)
OKLCHoklch(38.77% 0.162 266.2)
XYZxyz(7.6408, 5.3742, 30.7654)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3899 #997D1C
analogous
#1C7699 #1C3899 #3E1C99
triadic
#1C3899 #991C38 #38991C
tetradic
#1C3899 #991C76 #997D1C #1C993E
square
#1C3899 #991C76 #997D1C #1C993E
split-complementary
#1C3899 #993E1C #76991C
monochromatic
#091232 #132565 #1C3899 #254BCD #5070DF

Accessibility & contrast

On white

10.12
#1C3899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C3899
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3899#FFFFFF#000000##FFFFFF
##1C38991.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#003C97
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1c3899;
/* rgb */ color: rgb(28, 56, 153);
/* oklch */ color: oklch(38.8% 0.162 266.2);
Tailwind
colors: {
  custom: {
    50: '#6f6eb8',
    500: '#1c3899',
    950: '#000000',
  },
}
SCSS
$custom: #1c3899;
$custom-light: #6f6eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3899",
  "rgb": {
    "r": 28,
    "g": 56,
    "b": 153
  },
  "hsl": {
    "h": 226.56,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38771,
    "c": 0.16171,
    "h": 266.2
  },
  "luminance": 0.05375
}

Semantic roles & 50–950 ramp

primary
#1C3899
secondary
#C2A84F
accent
#C43CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #1C3899

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

Preview Lab → · Contrast checker → · Palette generator →

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