#1C2097#1C2097

#1C2097 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.186 H 270.1°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#1C2097
RGBrgb(28, 32, 151)
HSLhsl(238, 69%, 35%)
HSVhsv(238, 81%, 59%)
CMYKcmyk(81.5%, 78.8%, 0%, 40.8%)
CIE-LABlab(21.99, 41.54, -64.06)
CIE-LCHlch(21.99, 76.35, 302.96°)
OKLaboklab(34.53% 0.0002 -0.1855)
OKLCHoklch(34.53% 0.186 270.1)
XYZxyz(6.5794, 3.5135, 29.6036)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2097 #97931C
analogous
#1C5D97 #1C2097 #561C97
triadic
#1C2097 #971C20 #20971C
tetradic
#1C2097 #971C5D #97931C #1C9756
square
#1C2097 #971C5D #97931C #1C9756
split-complementary
#1C2097 #97561C #5D971C
monochromatic
#090A30 #121563 #1C2097 #262BCB #4F54DE

Accessibility & contrast

On white

12.33
#1C2097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1C2097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2097
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2097#FFFFFF#000000##FFFFFF
##1C20971.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c2097;
/* rgb */ color: rgb(28, 32, 151);
/* oklch */ color: oklch(34.5% 0.186 270.1);
Tailwind
colors: {
  custom: {
    50: '#715eb7',
    500: '#1c2097',
    950: '#000000',
  },
}
SCSS
$custom: #1c2097;
$custom-light: #715eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2097",
  "rgb": {
    "r": 28,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 238.049,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34525,
    "c": 0.18554,
    "h": 270.1
  },
  "luminance": 0.03514
}

Semantic roles & 50–950 ramp

primary
#1C2097
secondary
#C1BD4E
accent
#E63CEC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1C2097

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

Preview Lab → · Contrast checker → · Palette generator →

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