#1C2A82#1C2A82

#1C2A82 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.147 H 269.4°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#1C2A82
RGBrgb(28, 42, 130)
HSLhsl(232, 65%, 31%)
HSVhsv(232, 78%, 51%)
CMYKcmyk(78.5%, 67.7%, 0%, 49%)
CIE-LABlab(21.99, 27.67, -50.98)
CIE-LCHlch(21.99, 58.00, 298.49°)
OKLaboklab(33.86% -0.0015 -0.1475)
OKLCHoklch(33.86% 0.147 269.4)
XYZxyz(5.3347, 3.5139, 21.5119)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2A82 #82741C
analogous
#1C5D82 #1C2A82 #411C82
triadic
#1C2A82 #821C2A #2A821C
tetradic
#1C2A82 #821C5D #82741C #1C8241
square
#1C2A82 #821C5D #82741C #1C8241
split-complementary
#1C2A82 #82411C #5D821C
monochromatic
#06091D #111A50 #1C2A82 #273AB4 #4256D6

Accessibility & contrast

On white

12.33
#1C2A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1C2A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2A82
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2A82#FFFFFF#000000##FFFFFF
##1C2A821.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A85
Deuteranopia (green-blind)
#003080
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1c2a82;
/* rgb */ color: rgb(28, 42, 130);
/* oklch */ color: oklch(33.9% 0.147 269.4);
Tailwind
colors: {
  custom: {
    50: '#6a63a7',
    500: '#1c2a82',
    950: '#000000',
  },
}
SCSS
$custom: #1c2a82;
$custom-light: #6a63a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2a82",
  "rgb": {
    "r": 28,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 231.765,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33856,
    "c": 0.14749,
    "h": 269.4
  },
  "luminance": 0.03515
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1C2A82

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

Preview Lab → · Contrast checker → · Palette generator →

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