#1C2C76#1C2C76

#1C2C76 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.1% C 0.128 H 268.9°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#1C2C76
RGBrgb(28, 44, 118)
HSLhsl(229, 62%, 29%)
HSVhsv(229, 76%, 46%)
CMYKcmyk(76.3%, 62.7%, 0%, 53.7%)
CIE-LABlab(21.42, 21.57, -44.31)
CIE-LCHlch(21.42, 49.28, 295.96°)
OKLaboklab(33.09% -0.0025 -0.1279)
OKLCHoklch(33.09% 0.128 268.9)
XYZxyz(4.6485, 3.3558, 17.5388)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C2C76 #76661C
analogous
#1C5976 #1C2C76 #391C76
triadic
#1C2C76 #761C2C #2C761C
tetradic
#1C2C76 #761C59 #76661C #1C7639
square
#1C2C76 #761C59 #76661C #1C7639
split-complementary
#1C2C76 #76391C #59761C
monochromatic
#060919 #101A45 #1C2C76 #283EA7 #3C56D1

Accessibility & contrast

On white

12.57
#1C2C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1C2C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C2C76
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C2C76#FFFFFF#000000##FFFFFF
##1C2C761.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#002F75
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1c2c76;
/* rgb */ color: rgb(28, 44, 118);
/* oklch */ color: oklch(33.1% 0.128 268.9);
Tailwind
colors: {
  custom: {
    50: '#67649e',
    500: '#1c2c76',
    950: '#000000',
  },
}
SCSS
$custom: #1c2c76;
$custom-light: #67649e;
$custom-dark: #000000;
JSON
{
  "hex": "#1c2c76",
  "rgb": {
    "r": 28,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 229.333,
    "s": 61.644,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33087,
    "c": 0.12795,
    "h": 268.9
  },
  "luminance": 0.03356
}

Semantic roles & 50–950 ramp

primary
#1C2C76
secondary
#AA9844
accent
#C843E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1C2C76

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

Preview Lab → · Contrast checker → · Palette generator →

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