#1C4097#1C4097

#1C4097 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.149 H 263.9°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#1C4097
RGBrgb(28, 64, 151)
HSLhsl(222, 69%, 35%)
HSVhsv(222, 81%, 59%)
CMYKcmyk(81.5%, 57.6%, 0%, 40.8%)
CIE-LABlab(29.78, 20.84, -51.27)
CIE-LCHlch(29.78, 55.34, 292.12°)
OKLaboklab(40.22% -0.0158 -0.148)
OKLCHoklch(40.22% 0.149 263.9)
XYZxyz(7.8962, 6.1471, 30.0425)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C4097 #97731C
analogous
#1C7D97 #1C4097 #351C97
triadic
#1C4097 #971C40 #40971C
tetradic
#1C4097 #971C7D #97731C #1C9735
square
#1C4097 #971C7D #97731C #1C9735
split-complementary
#1C4097 #97351C #7D971C
monochromatic
#091430 #122A63 #1C4097 #2656CB #4F79DE

Accessibility & contrast

On white

9.42
#1C4097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1C4097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C4097
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C4097#FFFFFF#000000##FFFFFF
##1C40971.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1c4097;
/* rgb */ color: rgb(28, 64, 151);
/* oklch */ color: oklch(40.2% 0.149 263.9);
Tailwind
colors: {
  custom: {
    50: '#6e74b6',
    500: '#1c4097',
    950: '#000000',
  },
}
SCSS
$custom: #1c4097;
$custom-light: #6e74b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1c4097",
  "rgb": {
    "r": 28,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 222.439,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.40217,
    "c": 0.14889,
    "h": 263.9
  },
  "luminance": 0.06148
}

Semantic roles & 50–950 ramp

primary
#1C4097
secondary
#C19F4E
accent
#B83CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1C4097

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

Preview Lab → · Contrast checker → · Palette generator →

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