#1C2C8C#1C2C8C

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

Color values

HEX#1C2C8C
RGBrgb(28, 44, 140)
HSLhsl(231, 67%, 33%)
HSVhsv(231, 80%, 55%)
CMYKcmyk(80%, 68.6%, 0%, 45.1%)
CIE-LABlab(23.48, 30.16, -54.80)
CIE-LCHlch(23.48, 62.56, 298.82°)
OKLaboklab(35.24% -0.0034 -0.1587)
OKLCHoklch(35.24% 0.159 268.8)
XYZxyz(6.1116, 3.9410, 25.2444)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2C8C #8C7C1C
analogous
#1C648C #1C2C8C #441C8C
triadic
#1C2C8C #8C1C2C #2C8C1C
tetradic
#1C2C8C #8C1C64 #8C7C1C #1C8C44
square
#1C2C8C #8C1C64 #8C7C1C #1C8C44
split-complementary
#1C2C8C #8C441C #648C1C
monochromatic
#080C26 #121C59 #1C2C8C #263CBF #485DDA

Accessibility & contrast

On white

11.74
#1C2C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1C2C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2C8C
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2C8C#FFFFFF#000000##FFFFFF
##1C2C8C1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00338A
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1c2c8c;
/* rgb */ color: rgb(28, 44, 140);
/* oklch */ color: oklch(35.2% 0.159 268.8);
Tailwind
colors: {
  custom: {
    50: '#6d65af',
    500: '#1c2c8c',
    950: '#000000',
  },
}
SCSS
$custom: #1c2c8c;
$custom-light: #6d65af;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2c8c",
  "rgb": {
    "r": 28,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 231.429,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35236,
    "c": 0.1587,
    "h": 268.8
  },
  "luminance": 0.03942
}

Semantic roles & 50–950 ramp

primary
#1C2C8C
secondary
#BCAC48
accent
#D13EEA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1C2C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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