#1C2A84#1C2A84

#1C2A84 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.150 H 269.4°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#1C2A84
RGBrgb(28, 42, 132)
HSLhsl(232, 65%, 31%)
HSVhsv(232, 79%, 52%)
CMYKcmyk(78.8%, 68.2%, 0%, 48.2%)
CIE-LABlab(22.19, 28.44, -51.92)
CIE-LCHlch(22.19, 59.20, 298.71°)
OKLaboklab(34.06% -0.0017 -0.1502)
OKLCHoklch(34.06% 0.15 269.4)
XYZxyz(5.4703, 3.5681, 22.2257)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2A84 #84761C
analogous
#1C5E84 #1C2A84 #421C84
triadic
#1C2A84 #841C2A #2A841C
tetradic
#1C2A84 #841C5E #84761C #1C8442
square
#1C2A84 #841C5E #84761C #1C8442
split-complementary
#1C2A84 #84421C #5E841C
monochromatic
#070A1F #111A52 #1C2A84 #273AB6 #4357D7

Accessibility & contrast

On white

12.25
#1C2A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1C2A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2A84
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2A84#FFFFFF#000000##FFFFFF
##1C2A841.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A87
Deuteranopia (green-blind)
#003082
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c2a84;
/* rgb */ color: rgb(28, 42, 132);
/* oklch */ color: oklch(34.1% 0.150 269.4);
Tailwind
colors: {
  custom: {
    50: '#6b63a9',
    500: '#1c2a84',
    950: '#000000',
  },
}
SCSS
$custom: #1c2a84;
$custom-light: #6b63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2a84",
  "rgb": {
    "r": 28,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 231.923,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34058,
    "c": 0.15024,
    "h": 269.4
  },
  "luminance": 0.03569
}

Semantic roles & 50–950 ramp

primary
#1C2A84
secondary
#B7A845
accent
#D140E8
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1C2A84

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

Preview Lab → · Contrast checker → · Palette generator →

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