#1C2A86#1C2A86

#1C2A86 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.3% C 0.153 H 269.3°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#1C2A86
RGBrgb(28, 42, 134)
HSLhsl(232, 65%, 32%)
HSVhsv(232, 79%, 53%)
CMYKcmyk(79.1%, 68.7%, 0%, 47.5%)
CIE-LABlab(22.39, 29.20, -52.85)
CIE-LCHlch(22.39, 60.38, 298.92°)
OKLaboklab(34.26% -0.0018 -0.153)
OKLCHoklch(34.26% 0.153 269.3)
XYZxyz(5.6084, 3.6234, 22.9534)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2A86 #86781C
analogous
#1C5F86 #1C2A86 #431C86
triadic
#1C2A86 #861C2A #2A861C
tetradic
#1C2A86 #861C5F #86781C #1C8643
square
#1C2A86 #861C5F #86781C #1C8643
split-complementary
#1C2A86 #86431C #5F861C
monochromatic
#070A21 #111A53 #1C2A86 #273AB9 #4458D8

Accessibility & contrast

On white

12.18
#1C2A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1C2A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2A86
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2A86#FFFFFF#000000##FFFFFF
##1C2A861.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B89
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c2a86;
/* rgb */ color: rgb(28, 42, 134);
/* oklch */ color: oklch(34.3% 0.153 269.3);
Tailwind
colors: {
  custom: {
    50: '#6b63aa',
    500: '#1c2a86',
    950: '#000000',
  },
}
SCSS
$custom: #1c2a86;
$custom-light: #6b63aa;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2a86",
  "rgb": {
    "r": 28,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 232.075,
    "s": 65.432,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34261,
    "c": 0.15297,
    "h": 269.3
  },
  "luminance": 0.03624
}

Semantic roles & 50–950 ramp

primary
#1C2A86
secondary
#B9AA45
accent
#D23FE8
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1C2A86

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

Preview Lab → · Contrast checker → · Palette generator →

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