#1C2A74#1C2A74

#1C2A74 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.5% C 0.128 H 269.6°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#1C2A74
RGBrgb(28, 42, 116)
HSLhsl(230, 61%, 28%)
HSVhsv(230, 76%, 45%)
CMYKcmyk(75.9%, 63.8%, 0%, 54.5%)
CIE-LABlab(20.69, 22.19, -44.22)
CIE-LCHlch(20.69, 49.48, 296.65°)
OKLaboklab(32.49% -0.0009 -0.1277)
OKLCHoklch(32.49% 0.128 269.6)
XYZxyz(4.4582, 3.1633, 16.8952)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2A74 #74661C
analogous
#1C5674 #1C2A74 #3A1C74
triadic
#1C2A74 #741C2A #2A741C
tetradic
#1C2A74 #741C56 #74661C #1C743A
square
#1C2A74 #741C56 #74661C #1C743A
split-complementary
#1C2A74 #743A1C #56741C
monochromatic
#060919 #101843 #1C2A74 #283CA5 #3B52D0

Accessibility & contrast

On white

12.86
#1C2A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1C2A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2A74
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2A74#FFFFFF#000000##FFFFFF
##1C2A741.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#003D4A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1c2a74;
/* rgb */ color: rgb(28, 42, 116);
/* oklch */ color: oklch(32.5% 0.128 269.6);
Tailwind
colors: {
  custom: {
    50: '#66639d',
    500: '#1c2a74',
    950: '#000000',
  },
}
SCSS
$custom: #1c2a74;
$custom-light: #66639d;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2a74",
  "rgb": {
    "r": 28,
    "g": 42,
    "b": 116
  },
  "hsl": {
    "h": 230.455,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3249,
    "c": 0.12769,
    "h": 269.6
  },
  "luminance": 0.03164
}

Semantic roles & 50–950 ramp

primary
#1C2A74
secondary
#A89843
accent
#CB44E4
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1C2A74

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

Preview Lab → · Contrast checker → · Palette generator →

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