#1C2A8A#1C2A8A

#1C2A8A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.158 H 269.2°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#1C2A8A
RGBrgb(28, 42, 138)
HSLhsl(232, 66%, 33%)
HSVhsv(232, 80%, 54%)
CMYKcmyk(79.7%, 69.6%, 0%, 45.9%)
CIE-LABlab(22.78, 30.73, -54.70)
CIE-LCHlch(22.78, 62.74, 299.32°)
OKLaboklab(34.67% -0.0021 -0.1583)
OKLCHoklch(34.67% 0.158 269.2)
XYZxyz(5.8927, 3.7371, 24.4506)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2A8A #8A7C1C
analogous
#1C618A #1C2A8A #451C8A
triadic
#1C2A8A #8A1C2A #2A8A1C
tetradic
#1C2A8A #8A1C61 #8A7C1C #1C8A45
square
#1C2A8A #8A1C61 #8A7C1C #1C8A45
split-complementary
#1C2A8A #8A451C #618A1C
monochromatic
#070B24 #121B57 #1C2A8A #2639BD #4759DA

Accessibility & contrast

On white

12.02
#1C2A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1C2A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2A8A
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2A8A#FFFFFF#000000##FFFFFF
##1C2A8A1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003188
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1c2a8a;
/* rgb */ color: rgb(28, 42, 138);
/* oklch */ color: oklch(34.7% 0.158 269.2);
Tailwind
colors: {
  custom: {
    50: '#6c63ad',
    500: '#1c2a8a',
    950: '#000000',
  },
}
SCSS
$custom: #1c2a8a;
$custom-light: #6c63ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2a8a",
  "rgb": {
    "r": 28,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 232.364,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34671,
    "c": 0.15836,
    "h": 269.2
  },
  "luminance": 0.03738
}

Semantic roles & 50–950 ramp

primary
#1C2A8A
secondary
#BBAD46
accent
#D33FE9
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1C2A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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