#1C3F97#1C3F97

#1C3F97 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.150 H 264.2°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#1C3F97
RGBrgb(28, 63, 151)
HSLhsl(223, 69%, 35%)
HSVhsv(223, 81%, 59%)
CMYKcmyk(81.5%, 58.3%, 0%, 40.8%)
CIE-LABlab(29.50, 21.53, -51.73)
CIE-LCHlch(29.50, 56.03, 292.60°)
OKLaboklab(40.01% -0.0151 -0.1494)
OKLCHoklch(40.01% 0.15 264.2)
XYZxyz(7.8403, 6.0353, 30.0239)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C3F97 #97741C
analogous
#1C7C97 #1C3F97 #371C97
triadic
#1C3F97 #971C3F #3F971C
tetradic
#1C3F97 #971C7C #97741C #1C9737
square
#1C3F97 #971C7C #97741C #1C9737
split-complementary
#1C3F97 #97371C #7C971C
monochromatic
#091430 #122963 #1C3F97 #2655CB #4F78DE

Accessibility & contrast

On white

9.51
#1C3F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1C3F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C3F97
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C3F97#FFFFFF#000000##FFFFFF
##1C3F971.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1c3f97;
/* rgb */ color: rgb(28, 63, 151);
/* oklch */ color: oklch(40.0% 0.150 264.2);
Tailwind
colors: {
  custom: {
    50: '#6e73b6',
    500: '#1c3f97',
    950: '#000000',
  },
}
SCSS
$custom: #1c3f97;
$custom-light: #6e73b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c3f97",
  "rgb": {
    "r": 28,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 222.927,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40007,
    "c": 0.15018,
    "h": 264.2
  },
  "luminance": 0.06036
}

Semantic roles & 50–950 ramp

primary
#1C3F97
secondary
#C1A04E
accent
#BA3CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1C3F97

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

Preview Lab → · Contrast checker → · Palette generator →

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