#1C2C8D#1C2C8D

#1C2C8D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.160 H 268.8°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#1C2C8D
RGBrgb(28, 44, 141)
HSLhsl(232, 67%, 33%)
HSVhsv(232, 80%, 55%)
CMYKcmyk(80.1%, 68.8%, 0%, 44.7%)
CIE-LABlab(23.57, 30.54, -55.26)
CIE-LCHlch(23.57, 63.14, 298.93°)
OKLaboklab(35.34% -0.0035 -0.16)
OKLCHoklch(35.34% 0.16 268.8)
XYZxyz(6.1856, 3.9706, 25.6345)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2C8D #8D7D1C
analogous
#1C658D #1C2C8D #441C8D
triadic
#1C2C8D #8D1C2C #2C8D1C
tetradic
#1C2C8D #8D1C65 #8D7D1C #1C8D44
square
#1C2C8D #8D1C65 #8D7D1C #1C8D44
split-complementary
#1C2C8D #8D441C #658D1C
monochromatic
#080C27 #121C5A #1C2C8D #263CC0 #495DDB

Accessibility & contrast

On white

11.70
#1C2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1C2C8D
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2C8D#FFFFFF#000000##FFFFFF
##1C2C8D1.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1c2c8d;
/* rgb */ color: rgb(28, 44, 141);
/* oklch */ color: oklch(35.3% 0.160 268.8);
Tailwind
colors: {
  custom: {
    50: '#6d65af',
    500: '#1c2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #1c2c8d;
$custom-light: #6d65af;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2c8d",
  "rgb": {
    "r": 28,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 231.504,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35337,
    "c": 0.16004,
    "h": 268.8
  },
  "luminance": 0.03971
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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