#1C2397#1C2397

#1C2397 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.183 H 269.8°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#1C2397
RGBrgb(28, 35, 151)
HSLhsl(237, 69%, 35%)
HSVhsv(237, 81%, 59%)
CMYKcmyk(81.5%, 76.8%, 0%, 40.8%)
CIE-LABlab(22.59, 39.83, -63.07)
CIE-LCHlch(22.59, 74.59, 302.27°)
OKLaboklab(34.95% -0.0008 -0.1827)
OKLCHoklch(34.95% 0.183 269.8)
XYZxyz(6.6639, 3.6825, 29.6317)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2397 #97901C
analogous
#1C6197 #1C2397 #521C97
triadic
#1C2397 #971C23 #23971C
tetradic
#1C2397 #971C61 #97901C #1C9752
square
#1C2397 #971C61 #97901C #1C9752
split-complementary
#1C2397 #97521C #61971C
monochromatic
#090B30 #121763 #1C2397 #262FCB #4F57DE

Accessibility & contrast

On white

12.09
#1C2397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2397
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2397#FFFFFF#000000##FFFFFF
##1C23971.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9A
Deuteranopia (green-blind)
#003095
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c2397;
/* rgb */ color: rgb(28, 35, 151);
/* oklch */ color: oklch(34.9% 0.183 269.8);
Tailwind
colors: {
  custom: {
    50: '#705fb7',
    500: '#1c2397',
    950: '#000000',
  },
}
SCSS
$custom: #1c2397;
$custom-light: #705fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2397",
  "rgb": {
    "r": 28,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 236.585,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34949,
    "c": 0.18269,
    "h": 269.8
  },
  "luminance": 0.03683
}

Semantic roles & 50–950 ramp

primary
#1C2397
secondary
#C1BA4E
accent
#E23CEC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1C2397

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

Preview Lab → · Contrast checker → · Palette generator →

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