#1C2197#1C2197

#1C2197 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.185 H 270.0°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#1C2197
RGBrgb(28, 33, 151)
HSLhsl(238, 69%, 35%)
HSVhsv(238, 81%, 59%)
CMYKcmyk(81.5%, 78.1%, 0%, 40.8%)
CIE-LABlab(22.19, 40.97, -63.74)
CIE-LCHlch(22.19, 75.77, 302.74°)
OKLaboklab(34.66% -0.0001 -0.1846)
OKLCHoklch(34.66% 0.185 270)
XYZxyz(6.6068, 3.5682, 29.6127)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2197 #97921C
analogous
#1C5E97 #1C2197 #541C97
triadic
#1C2197 #971C21 #21971C
tetradic
#1C2197 #971C5E #97921C #1C9754
square
#1C2197 #971C5E #97921C #1C9754
split-complementary
#1C2197 #97541C #5E971C
monochromatic
#090A30 #121663 #1C2197 #262CCB #4F55DE

Accessibility & contrast

On white

12.25
#1C2197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1C2197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2197
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2197#FFFFFF#000000##FFFFFF
##1C21971.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9A
Deuteranopia (green-blind)
#002F95
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c2197;
/* rgb */ color: rgb(28, 33, 151);
/* oklch */ color: oklch(34.7% 0.185 270.0);
Tailwind
colors: {
  custom: {
    50: '#715eb7',
    500: '#1c2197',
    950: '#000000',
  },
}
SCSS
$custom: #1c2197;
$custom-light: #715eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2197",
  "rgb": {
    "r": 28,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 237.561,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34663,
    "c": 0.18461,
    "h": 270
  },
  "luminance": 0.03569
}

Semantic roles & 50–950 ramp

primary
#1C2197
secondary
#C1BC4E
accent
#E43CEC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1C2197

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

Preview Lab → · Contrast checker → · Palette generator →

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