#1C2A78#1C2A78

#1C2A78 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.9% C 0.133 H 269.6°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#1C2A78
RGBrgb(28, 42, 120)
HSLhsl(231, 62%, 29%)
HSVhsv(231, 77%, 47%)
CMYKcmyk(76.7%, 65%, 0%, 52.9%)
CIE-LABlab(21.05, 23.77, -46.18)
CIE-LCHlch(21.05, 51.94, 297.23°)
OKLaboklab(32.87% -0.001 -0.1335)
OKLCHoklch(32.87% 0.133 269.6)
XYZxyz(4.6959, 3.2584, 18.1471)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2A78 #786A1C
analogous
#1C5878 #1C2A78 #3C1C78
triadic
#1C2A78 #781C2A #2A781C
tetradic
#1C2A78 #781C58 #786A1C #1C783C
square
#1C2A78 #781C58 #786A1C #1C783C
split-complementary
#1C2A78 #783C1C #58781C
monochromatic
#060919 #101946 #1C2A78 #283BAA #3D53D2

Accessibility & contrast

On white

12.71
#1C2A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1C2A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2A78
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2A78#FFFFFF#000000##FFFFFF
##1C2A781.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377B
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1c2a78;
/* rgb */ color: rgb(28, 42, 120);
/* oklch */ color: oklch(32.9% 0.133 269.6);
Tailwind
colors: {
  custom: {
    50: '#6763a0',
    500: '#1c2a78',
    950: '#000000',
  },
}
SCSS
$custom: #1c2a78;
$custom-light: #6763a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2a78",
  "rgb": {
    "r": 28,
    "g": 42,
    "b": 120
  },
  "hsl": {
    "h": 230.87,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32872,
    "c": 0.13345,
    "h": 269.6
  },
  "luminance": 0.03259
}

Semantic roles & 50–950 ramp

primary
#1C2A78
secondary
#AC9C44
accent
#CC43E5
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #1C2A78

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

Preview Lab → · Contrast checker → · Palette generator →

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