#1C2C97#1C2C97

#1C2C97 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.173 H 268.6°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#1C2C97
RGBrgb(28, 44, 151)
HSLhsl(232, 69%, 35%)
HSVhsv(232, 81%, 59%)
CMYKcmyk(81.5%, 70.9%, 0%, 40.8%)
CIE-LABlab(24.58, 34.30, -59.78)
CIE-LCHlch(24.58, 68.92, 299.84°)
OKLaboklab(36.37% -0.0043 -0.1732)
OKLCHoklch(36.37% 0.173 268.6)
XYZxyz(6.9636, 4.2818, 29.7316)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2C97 #97871C
analogous
#1C6A97 #1C2C97 #491C97
triadic
#1C2C97 #971C2C #2C971C
tetradic
#1C2C97 #971C6A #97871C #1C9749
square
#1C2C97 #971C6A #97871C #1C9749
split-complementary
#1C2C97 #97491C #6A971C
monochromatic
#090E30 #121D63 #1C2C97 #263BCB #4F62DE

Accessibility & contrast

On white

11.31
#1C2C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1C2C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2C97
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2C97#FFFFFF#000000##FFFFFF
##1C2C971.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003495
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1c2c97;
/* rgb */ color: rgb(28, 44, 151);
/* oklch */ color: oklch(36.4% 0.173 268.6);
Tailwind
colors: {
  custom: {
    50: '#6f65b7',
    500: '#1c2c97',
    950: '#000000',
  },
}
SCSS
$custom: #1c2c97;
$custom-light: #6f65b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2c97",
  "rgb": {
    "r": 28,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 232.195,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36374,
    "c": 0.17323,
    "h": 268.6
  },
  "luminance": 0.04283
}

Semantic roles & 50–950 ramp

primary
#1C2C97
secondary
#C1B24E
accent
#D53CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #1C2C97

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

Preview Lab → · Contrast checker → · Palette generator →

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