#1C2A76#1C2A76

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

Color values

HEX#1C2A76
RGBrgb(28, 42, 118)
HSLhsl(231, 62%, 29%)
HSVhsv(231, 76%, 46%)
CMYKcmyk(76.3%, 64.4%, 0%, 53.7%)
CIE-LABlab(20.87, 22.98, -45.21)
CIE-LCHlch(20.87, 50.71, 296.95°)
OKLaboklab(32.68% -0.001 -0.1306)
OKLCHoklch(32.68% 0.131 269.6)
XYZxyz(4.5757, 3.2103, 17.5145)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2A76 #76681C
analogous
#1C5776 #1C2A76 #3B1C76
triadic
#1C2A76 #761C2A #2A761C
tetradic
#1C2A76 #761C57 #76681C #1C763B
square
#1C2A76 #761C57 #76681C #1C763B
split-complementary
#1C2A76 #763B1C #57761C
monochromatic
#060919 #101845 #1C2A76 #283CA7 #3C53D1

Accessibility & contrast

On white

12.79
#1C2A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1C2A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2A76
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2A76#FFFFFF#000000##FFFFFF
##1C2A761.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003678
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1c2a76;
/* rgb */ color: rgb(28, 42, 118);
/* oklch */ color: oklch(32.7% 0.131 269.6);
Tailwind
colors: {
  custom: {
    50: '#67639e',
    500: '#1c2a76',
    950: '#000000',
  },
}
SCSS
$custom: #1c2a76;
$custom-light: #67639e;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2a76",
  "rgb": {
    "r": 28,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 230.667,
    "s": 61.644,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3268,
    "c": 0.13058,
    "h": 269.6
  },
  "luminance": 0.03211
}

Semantic roles & 50–950 ramp

primary
#1C2A76
secondary
#AA9A44
accent
#CC43E5
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1C2A76

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

Preview Lab → · Contrast checker → · Palette generator →

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