#1C3897#1C3897

#1C3897 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.159 H 266.2°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#1C3897
RGBrgb(28, 56, 151)
HSLhsl(226, 69%, 35%)
HSVhsv(226, 81%, 59%)
CMYKcmyk(81.5%, 62.9%, 0%, 40.8%)
CIE-LABlab(27.60, 26.32, -54.83)
CIE-LCHlch(27.60, 60.83, 295.64°)
OKLaboklab(38.58% -0.0107 -0.1586)
OKLCHoklch(38.58% 0.159 266.2)
XYZxyz(7.4770, 5.3087, 29.9028)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3897 #977B1C
analogous
#1C7697 #1C3897 #3D1C97
triadic
#1C3897 #971C38 #38971C
tetradic
#1C3897 #971C76 #977B1C #1C973D
square
#1C3897 #971C76 #977B1C #1C973D
split-complementary
#1C3897 #973D1C #76971C
monochromatic
#091230 #122563 #1C3897 #264BCB #4F70DE

Accessibility & contrast

On white

10.18
#1C3897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#1C3897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3897
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3897#FFFFFF#000000##FFFFFF
##1C38971.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1c3897;
/* rgb */ color: rgb(28, 56, 151);
/* oklch */ color: oklch(38.6% 0.159 266.2);
Tailwind
colors: {
  custom: {
    50: '#6e6eb6',
    500: '#1c3897',
    950: '#000000',
  },
}
SCSS
$custom: #1c3897;
$custom-light: #6e6eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3897",
  "rgb": {
    "r": 28,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 226.341,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38584,
    "c": 0.15899,
    "h": 266.2
  },
  "luminance": 0.0531
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C3897

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

Preview Lab → · Contrast checker → · Palette generator →

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