#1C3173#1C3173

#1C3173 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.117 H 266.7°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#1C3173
RGBrgb(28, 49, 115)
HSLhsl(226, 61%, 28%)
HSVhsv(226, 76%, 45%)
CMYKcmyk(75.7%, 57.4%, 0%, 54.9%)
CIE-LABlab(22.59, 16.82, -40.49)
CIE-LCHlch(22.59, 43.84, 292.56°)
OKLaboklab(33.88% -0.0067 -0.1166)
OKLCHoklch(33.88% 0.117 266.7)
XYZxyz(4.6706, 3.6808, 16.6806)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3173 #735E1C
analogous
#1C5C73 #1C3173 #321C73
triadic
#1C3173 #731C31 #31731C
tetradic
#1C3173 #731C5C #735E1C #1C7332
square
#1C3173 #731C5C #735E1C #1C7332
split-complementary
#1C3173 #73321C #5C731C
monochromatic
#060A19 #101C42 #1C3173 #2846A4 #3A5ECF

Accessibility & contrast

On white

12.10
#1C3173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1C3173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3173
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3173#FFFFFF#000000##FFFFFF
##1C31731.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c3173;
/* rgb */ color: rgb(28, 49, 115);
/* oklch */ color: oklch(33.9% 0.117 266.7);
Tailwind
colors: {
  custom: {
    50: '#65689c',
    500: '#1c3173',
    950: '#000000',
  },
}
SCSS
$custom: #1c3173;
$custom-light: #65689c;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3173",
  "rgb": {
    "r": 28,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 225.517,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33884,
    "c": 0.11681,
    "h": 266.7
  },
  "luminance": 0.03681
}

Semantic roles & 50–950 ramp

primary
#1C3173
secondary
#A78F43
accent
#BD44E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1C3173

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

Preview Lab → · Contrast checker → · Palette generator →

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