#1C2497#1C2497

#1C2497 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.182 H 269.7°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#1C2497
RGBrgb(28, 36, 151)
HSLhsl(236, 69%, 35%)
HSVhsv(236, 81%, 59%)
CMYKcmyk(81.5%, 76.2%, 0%, 40.8%)
CIE-LABlab(22.80, 39.24, -62.72)
CIE-LCHlch(22.80, 73.99, 302.03°)
OKLaboklab(35.1% -0.0011 -0.1817)
OKLCHoklch(35.1% 0.182 269.7)
XYZxyz(6.6938, 3.7422, 29.6417)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2497 #978F1C
analogous
#1C6197 #1C2497 #521C97
triadic
#1C2497 #971C24 #24971C
tetradic
#1C2497 #971C61 #978F1C #1C9752
square
#1C2497 #971C61 #978F1C #1C9752
split-complementary
#1C2497 #97521C #61971C
monochromatic
#090B30 #121863 #1C2497 #2630CB #4F58DE

Accessibility & contrast

On white

12.01
#1C2497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1C2497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2497
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2497#FFFFFF#000000##FFFFFF
##1C24971.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c2497;
/* rgb */ color: rgb(28, 36, 151);
/* oklch */ color: oklch(35.1% 0.182 269.7);
Tailwind
colors: {
  custom: {
    50: '#7060b7',
    500: '#1c2497',
    950: '#000000',
  },
}
SCSS
$custom: #1c2497;
$custom-light: #7060b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2497",
  "rgb": {
    "r": 28,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 236.098,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35096,
    "c": 0.18171,
    "h": 269.7
  },
  "luminance": 0.03743
}

Semantic roles & 50–950 ramp

primary
#1C2497
secondary
#C1B94E
accent
#E03CEC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1C2497

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

Preview Lab → · Contrast checker → · Palette generator →

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