#1C2C8A#1C2C8A

#1C2C8A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.156 H 268.8°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#1C2C8A
RGBrgb(28, 44, 138)
HSLhsl(231, 66%, 33%)
HSVhsv(231, 80%, 54%)
CMYKcmyk(79.7%, 68.1%, 0%, 45.9%)
CIE-LABlab(23.28, 29.40, -53.88)
CIE-LCHlch(23.28, 61.38, 298.62°)
OKLaboklab(35.03% -0.0032 -0.156)
OKLCHoklch(35.03% 0.156 268.8)
XYZxyz(5.9654, 3.8825, 24.4748)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2C8A #8A7A1C
analogous
#1C638A #1C2C8A #431C8A
triadic
#1C2C8A #8A1C2C #2C8A1C
tetradic
#1C2C8A #8A1C63 #8A7A1C #1C8A43
square
#1C2C8A #8A1C63 #8A7A1C #1C8A43
split-complementary
#1C2C8A #8A431C #638A1C
monochromatic
#070C24 #121C57 #1C2C8A #263CBD #475CDA

Accessibility & contrast

On white

11.82
#1C2C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1C2C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2C8A
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2C8A#FFFFFF#000000##FFFFFF
##1C2C8A1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#003288
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1c2c8a;
/* rgb */ color: rgb(28, 44, 138);
/* oklch */ color: oklch(35.0% 0.156 268.8);
Tailwind
colors: {
  custom: {
    50: '#6c65ad',
    500: '#1c2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #1c2c8a;
$custom-light: #6c65ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2c8a",
  "rgb": {
    "r": 28,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 231.273,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35033,
    "c": 0.15599,
    "h": 268.8
  },
  "luminance": 0.03883
}

Semantic roles & 50–950 ramp

primary
#1C2C8A
secondary
#BBAA46
accent
#D03FE9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1C2C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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