#1C3D97#1C3D97

#1C3D97 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.153 H 264.8°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#1C3D97
RGBrgb(28, 61, 151)
HSLhsl(224, 69%, 35%)
HSVhsv(224, 81%, 59%)
CMYKcmyk(81.5%, 59.6%, 0%, 40.8%)
CIE-LABlab(28.95, 22.90, -52.63)
CIE-LCHlch(28.95, 57.39, 293.52°)
OKLaboklab(39.59% -0.0138 -0.1521)
OKLCHoklch(39.59% 0.153 264.8)
XYZxyz(7.7316, 5.8178, 29.9876)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3D97 #97761C
analogous
#1C7B97 #1C3D97 #381C97
triadic
#1C3D97 #971C3D #3D971C
tetradic
#1C3D97 #971C7B #97761C #1C9738
square
#1C3D97 #971C7B #97761C #1C9738
split-complementary
#1C3D97 #97381C #7B971C
monochromatic
#091330 #122863 #1C3D97 #2652CB #4F75DE

Accessibility & contrast

On white

9.71
#1C3D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1C3D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3D97
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3D97#FFFFFF#000000##FFFFFF
##1C3D971.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1c3d97;
/* rgb */ color: rgb(28, 61, 151);
/* oklch */ color: oklch(39.6% 0.153 264.8);
Tailwind
colors: {
  custom: {
    50: '#6e72b6',
    500: '#1c3d97',
    950: '#000000',
  },
}
SCSS
$custom: #1c3d97;
$custom-light: #6e72b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3d97",
  "rgb": {
    "r": 28,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 223.902,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39592,
    "c": 0.15272,
    "h": 264.8
  },
  "luminance": 0.05819
}

Semantic roles & 50–950 ramp

primary
#1C3D97
secondary
#C1A24E
accent
#BD3CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1C3D97

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

Preview Lab → · Contrast checker → · Palette generator →

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